Skip to content

Commit

Permalink
Fix some types of crashes (such as infinite stack recursion) not bein…
Browse files Browse the repository at this point in the history
…g logged

related to #62
  • Loading branch information
LagoLunatic committed Dec 28, 2021
1 parent 354fa3c commit b3115eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dsvedit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@

raise e
end
rescue ScriptError, StandardError => e
rescue SystemExit, Interrupt
raise
rescue Exception => e
logger = Logger.new("crashlog.txt")
logger.error e

Expand Down

0 comments on commit b3115eb

Please sign in to comment.