widget_list 1.1.3 → 1.1.4

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.
@@ -1,3 +1,3 @@
1
1
  module WidgetList
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
data/lib/widget_list.rb CHANGED
@@ -2277,6 +2277,19 @@ module WidgetList
2277
2277
  if Rails.env == 'development' && ex != ''
2278
2278
  sqlDebug += "<br/><br/><strong style='color:red'>(" + ex.to_s + ") <pre>" + $!.backtrace.join("\n\n") + "</pre></strong>"
2279
2279
  end
2280
+
2281
+ if Rails.env != 'development'
2282
+
2283
+ if get_database.errors
2284
+ Rails.logger.info get_database.last_error.to_s
2285
+ end
2286
+
2287
+ if ex != ''
2288
+ Rails.logger.info $!.backtrace.join("\n\n")
2289
+ end
2290
+
2291
+ end
2292
+
2280
2293
  Rails.logger.info sqlDebug
2281
2294
 
2282
2295
  sqlDebug
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: widget_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: