Skip to content

Commit

Permalink
Don't print ERROR when we're supposed to exit normally
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Feb 23, 2011
1 parent 182e4ab commit 287e263
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
=== 1.2.2 / 2011-02-22

* Bug Fix
* Don't print ERROR when we're exiting normally.

=== 1.2.1 / 2011-02-22

* Bug Fix
Expand Down
6 changes: 5 additions & 1 deletion lib/meme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Error < RuntimeError; end
##
# Every meme generator needs a version

VERSION = '1.2.1'
VERSION = '1.2.2'

##
# For statistics!
Expand Down Expand Up @@ -87,6 +87,10 @@ def self.run argv = ARGV

puts link
link
rescue Interrupt
exit
rescue SystemExit
raise
rescue Exception => e
abort "ERROR: #{e.message} (#{e.class})"
end
Expand Down

0 comments on commit 287e263

Please sign in to comment.