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.
- data/lib/widget_list/version.rb +1 -1
- data/lib/widget_list.rb +13 -0
- metadata +1 -1
data/lib/widget_list/version.rb
CHANGED
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
|