fanforce-app-factory 2.0.0.rc23 → 2.0.0.rc24
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ class Fanforce::App::CoreConfig
|
|
5
5
|
|
6
6
|
def initialize(base_dir)
|
7
7
|
@base_dir = base_dir
|
8
|
-
@show_error_details = false
|
8
|
+
@show_error_details = (ENV['RACK_ENV']=='development') ? true : false
|
9
9
|
@bugsnag = (ENV['BUGSNAG_API_KEY'].present?) ? {api_key: ENV['BUGSNAG_API_KEY']} : nil
|
10
10
|
end
|
11
11
|
|