Skip to content

Instantly share code, notes, and snippets.

@topfunky
Created October 3, 2008 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topfunky/14585 to your computer and use it in GitHub Desktop.
Save topfunky/14585 to your computer and use it in GitHub Desktop.
# Updated for current plugin
def log_to_exceptional(exception)
logger.info "Exception #{exception.inspect}"
Exceptional.handle(exception, self, request, params)
rescue NoMethodError
logger.info "Couldn't log to Exceptional"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment