Skip to content

Commit

Permalink
to_string for native exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
dekellum committed Jul 15, 2011
1 parent 67659df commit de93517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mizuno/rack_servlet.rb
Expand Up @@ -85,7 +85,7 @@ def service(request, response)
continuation.suspend(response)

rescue NativeException => n
@log.warn( "On service (native): #{n.cause}" )
@log.warn( "On service (native): #{n.cause.to_string}" )
raise n.cause
rescue Exception => e
@log.error( "On service: #{e}" )
Expand Down

0 comments on commit de93517

Please sign in to comment.