diff options
Diffstat (limited to 'sample/eval.rb')
-rw-r--r-- | sample/eval.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/eval.rb b/sample/eval.rb index 216bf8ca39..b9a54df34c 100644 --- a/sample/eval.rb +++ b/sample/eval.rb @@ -31,7 +31,7 @@ while TRUE end begin print eval(line).inspect, "\n" - rescue + rescue ScriptError, StandardError $! = 'exception raised' unless $! print "ERR: ", $!, "\n" end |