diff options
author | Azul <azul@leap.se> | 2013-12-13 11:16:11 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-12-13 13:17:56 +0100 |
commit | 72087656e5092fd744f4314c9a0e91825399fefc (patch) | |
tree | 2028ea1c0aaf34d57834d39d44a4ffd314fb1a16 /config | |
parent | ce99e9892dc5f807e072be8161c19f4969b1dace (diff) |
proceed even if the couch is unreachable
* in case the user has a session id, keep it but proceed without a session
* in case we can't initialize the models proceed
* if APP_CONFIG[:reraise_errors] is set we'll crash instead in the latter case
default to reraise errors in dev and test environments.
Diffstat (limited to 'config')
-rw-r--r-- | config/defaults.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml index 4530d47..4bd8eec 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -72,6 +72,7 @@ development: domain: example.org secret_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' payment: [] + reraise_errors: true test: <<: *downloads @@ -83,6 +84,7 @@ test: domain: test.me secret_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' payment: [billing] + reraise_errors: true production: <<: *downloads |