Skip to content

FileNotFoundError not raised correctly #43

@raimund-schluessler

Description

@raimund-schluessler

@paulmueller If I am not wrong, the FileNotFoundError and its variant are not raised correctly. errno.ENOENT and filename are missing here:

raise FileNotFoundError(f"File does not exist: '{self.path}'")

impose/impose/session.py

Lines 279 to 284 in 5b2907b

raise ImposeDataFileNotFoundError(
name,
"Could not find file '{}'".format(name)
+ (f" (sig '{signature}')" if signature is not None else "")
+ "!"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions