diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -20,17 +20,6 @@ debug = true ## email FROM address all mails will be sent #app_email_from = rhodecode-noreply@localhost -## Uncomment and replace with the address which should receive any error report -## note: using appenlight for error handling doesn't need this to be uncommented -#email_to = admin@localhost - -## in case of Application errors, sent an error email form -#error_email_from = rhodecode_error@localhost - -## additional error message to be send in case of server crash -#error_message = - - #smtp_server = mail.server.com #smtp_username = #smtp_password = @@ -293,8 +282,7 @@ supervisor.group_id = dev labs_settings_active = true ## custom exception store path, defaults to TMPDIR -exception_store_path = - +exception_tracker.store_path = #################################### ### CELERY CONFIG #### diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -20,17 +20,6 @@ debug = true ## email FROM address all mails will be sent #app_email_from = rhodecode-noreply@localhost -## Uncomment and replace with the address which should receive any error report -## note: using appenlight for error handling doesn't need this to be uncommented -#email_to = admin@localhost - -## in case of Application errors, sent an error email form -#error_email_from = rhodecode_error@localhost - -## additional error message to be send in case of server crash -#error_message = - - #smtp_server = mail.server.com #smtp_username = #smtp_password = @@ -268,7 +257,7 @@ supervisor.group_id = prod labs_settings_active = true ## custom exception store path, defaults to TMPDIR -exception_store_path = +exception_tracker.store_path = #################################### diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -452,7 +452,7 @@ def _sanitize_cache_settings(settings): # exception store cache _string_setting( settings, - 'exception_store_path', + 'exception_tracker.store_path', default_cache_dir, lower=False) # cache_perms diff --git a/rhodecode/lib/exc_tracking.py b/rhodecode/lib/exc_tracking.py --- a/rhodecode/lib/exc_tracking.py +++ b/rhodecode/lib/exc_tracking.py @@ -57,7 +57,7 @@ def get_exc_store(): """ import rhodecode as app - exc_store_dir = app.CONFIG.get('exception_store_path', '') or tempfile.gettempdir() + exc_store_dir = app.CONFIG.get('exception_tracker.store_path', '') or tempfile.gettempdir() _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name) _exc_store_path = os.path.abspath(_exc_store_path)