lib/jstdutil.rb in jstdutil-0.2.2 vs lib/jstdutil.rb in jstdutil-0.3.0
- old
+ new
@@ -30,10 +30,10 @@
# Run the jar through the java command
#
def self.run(args, jar)
begin
`java -jar #{jar} #{args}`
- rescue Exception
+ rescue Exception => err
end
end
end
class FileNotFoundError < StandardError