Skip to content

Commit

Permalink
Merge remote branch 'gregwebs/exception'
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs committed May 17, 2011
2 parents 87ecf4a + 587d783 commit 90cdd5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/goliath/api.rb
Expand Up @@ -163,7 +163,7 @@ def call(env)
end

rescue Goliath::Validation::Error => e
env['rack.exception'] = e
env[RACK_EXCEPTION] = e
env[ASYNC_CALLBACK].call(validation_error(e.status_code, e.message))

rescue Exception => e
Expand Down

0 comments on commit 90cdd5c

Please sign in to comment.