publish_my_data 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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