diff --git a/Spriter.rb b/Spriter.rb index cc361b0..c0c1318 100644 --- a/Spriter.rb +++ b/Spriter.rb @@ -218,7 +218,9 @@ def save(filename, r1 = 0, g1 = 255, b1 = 0, a1 = 255, r2 = 0, g2 = 0, b2 = 0, a p Time.now.to_f - t rescue Interrupt puts 'Interrupted' + exit(130) rescue puts $!, $@ + exit(2) end end \ No newline at end of file