Skip to content

Commit

Permalink
fix error returned
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Nov 13, 2024
1 parent fac3f0f commit 49b3153
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Melt/chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ def main():


if __name__ == "__main__":
result = 0
try:
sys.exit(main())
result = main()
except:
sys.exit(1)
result = 1
sys.exit(result)

0 comments on commit 49b3153

Please sign in to comment.