Skip to content

Commit

Permalink
Inherit from RuntimeError instead of StandardError
Browse files Browse the repository at this point in the history
  • Loading branch information
tawan committed Feb 6, 2016
1 parent f03700f commit 1ef0112
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ gem 'dotenv'
gem 'fuubar'
gem 'rdoc'
gem 'byebug', :platforms => [:ruby_20, :ruby_21, :ruby_22 ]
gem 'benchmark-ips'
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ GEM
jmespath (~> 1.0)
aws-sdk-resources (2.2.11)
aws-sdk-core (= 2.2.11)
benchmark-ips (2.3.0)
builder (3.2.2)
byebug (8.2.2)
concurrent-ruby (1.0.0)
Expand Down Expand Up @@ -134,6 +135,7 @@ PLATFORMS

DEPENDENCIES
active_elastic_job!
benchmark-ips
bundler
byebug
dotenv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ActiveElasticJobAdapter

extend ActiveElasticJob::MD5MessageDigestCalculation

class Error < StandardError; end;
class Error < RuntimeError; end;

# Raised when job exceeds 256 KB in its serialized form. The limit is
# imposed by Amazon SQS.
Expand Down

0 comments on commit 1ef0112

Please sign in to comment.