silverfin / silverfin-cli

Command line tool for Silverfin template development
4 stars 1 forks source link

Avoid errors to terminate process #100

Closed AgustinSilverfin closed 8 months ago

AgustinSilverfin commented 9 months ago

Description

Right now, most error handling functions raise and error and terminate the process with process.exit(1). Changes this behavior to display the error but continue, only returning false. Allowing to the caller to handle the exception as needed. This could be used in the Extension for example, or in commands like update-reconciliation --all where any error would stop the execution.

Fixes # (link to the corresponding issue if applicable)

Type of change

Checklist