##// END OF EJS Templates
exception_store: rename .ini option for future
marcink -
r3060:44dda634 default
parent child Browse files
Show More
@@ -20,17 +20,6 b' debug = true'
20 20 ## email FROM address all mails will be sent
21 21 #app_email_from = rhodecode-noreply@localhost
22 22
23 ## Uncomment and replace with the address which should receive any error report
24 ## note: using appenlight for error handling doesn't need this to be uncommented
25 #email_to = admin@localhost
26
27 ## in case of Application errors, sent an error email form
28 #error_email_from = rhodecode_error@localhost
29
30 ## additional error message to be send in case of server crash
31 #error_message =
32
33
34 23 #smtp_server = mail.server.com
35 24 #smtp_username =
36 25 #smtp_password =
@@ -293,8 +282,7 b' supervisor.group_id = dev'
293 282 labs_settings_active = true
294 283
295 284 ## custom exception store path, defaults to TMPDIR
296 exception_store_path =
297
285 exception_tracker.store_path =
298 286
299 287 ####################################
300 288 ### CELERY CONFIG ####
@@ -20,17 +20,6 b' debug = true'
20 20 ## email FROM address all mails will be sent
21 21 #app_email_from = rhodecode-noreply@localhost
22 22
23 ## Uncomment and replace with the address which should receive any error report
24 ## note: using appenlight for error handling doesn't need this to be uncommented
25 #email_to = admin@localhost
26
27 ## in case of Application errors, sent an error email form
28 #error_email_from = rhodecode_error@localhost
29
30 ## additional error message to be send in case of server crash
31 #error_message =
32
33
34 23 #smtp_server = mail.server.com
35 24 #smtp_username =
36 25 #smtp_password =
@@ -268,7 +257,7 b' supervisor.group_id = prod'
268 257 labs_settings_active = true
269 258
270 259 ## custom exception store path, defaults to TMPDIR
271 exception_store_path =
260 exception_tracker.store_path =
272 261
273 262
274 263 ####################################
@@ -452,7 +452,7 b' def _sanitize_cache_settings(settings):'
452 452 # exception store cache
453 453 _string_setting(
454 454 settings,
455 'exception_store_path',
455 'exception_tracker.store_path',
456 456 default_cache_dir, lower=False)
457 457
458 458 # cache_perms
@@ -57,7 +57,7 b' def get_exc_store():'
57 57 """
58 58 import rhodecode as app
59 59
60 exc_store_dir = app.CONFIG.get('exception_store_path', '') or tempfile.gettempdir()
60 exc_store_dir = app.CONFIG.get('exception_tracker.store_path', '') or tempfile.gettempdir()
61 61 _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name)
62 62
63 63 _exc_store_path = os.path.abspath(_exc_store_path)
General Comments 0
You need to be logged in to leave comments. Login now