publish_my_data 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,10 @@ module PublishMyData
12
12
 
13
13
  def handle_uncaught_error(e)
14
14
  @e = e
15
- # TODO: notify error handling service.
15
+ Rails.logger.info "***UNCAUGHT ERROR***"
16
+ Rails.logger.info e.class.name
17
+ Rails.logger.info e.message
18
+ Rails.logger.debug e.backtrace.join("\n")
16
19
  respond_to do |format|
17
20
  format.html { render(:template => "publish_my_data/errors/uncaught", :layout => 'publish_my_data/error', :status => 500) and return false }
18
21
  format.any{ head(:status => 500, :content_type => 'text/plain') and return false }
@@ -1,3 +1,3 @@
1
1
  module PublishMyData
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end