Skip to content
Browse files

to_string for native exception type

  • Loading branch information...
1 parent 67659df commit de93517f8f7746b47593bed39d0baeab49fecdf1 @dekellum committed Jul 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mizuno/rack_servlet.rb
View
2 lib/mizuno/rack_servlet.rb
@@ -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}" )

0 comments on commit de93517

Please sign in to comment.
Something went wrong with that request. Please try again.