Skip to content

Don't swallow exceptions #5

@chrisemblhh

Description

@chrisemblhh

Lots of sasCIFtools code follows the pattern

except Exception as err:
    print "There was an error"
    return

or sometimes sys.exit() instead of return
Neither of these patterns are helpful in library code

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