# HG changeset patch # User Thomas De Schampheleire <[email protected]> # Date 1438368443 -7200 # Fri Jul 31 20:47:23 2015 +0200 # Node ID c530a2d8643042b7424e4bec5f00a1017eeae57d # Parent 1cdfd54a9c8ffbaccb4082677e3c494c638ce9b7 e-mail: add hidden setting error_subject_prefix
The WebError ErrorMiddleware supports a setting error_subject_prefix which defaults to 'WebApp Error: '. A subsequent commit will add documentation for that setting, but already add it here, commented out. diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -22,6 +22,7 @@ pdebug = false ################################################################################ #email_to = admin@localhost #error_email_from = paste_error@localhost +#error_subject_prefix = #app_email_from = kallithea-noreply@localhost #email_prefix = [Kallithea] diff --git a/kallithea/bin/template.ini.mako b/kallithea/bin/template.ini.mako --- a/kallithea/bin/template.ini.mako +++ b/kallithea/bin/template.ini.mako @@ -16,6 +16,7 @@ pdebug = false ################################################################################</%text> #email_to = admin@localhost #error_email_from = paste_error@localhost +#error_subject_prefix = #app_email_from = kallithea-noreply@localhost #email_prefix = [Kallithea] diff --git a/kallithea/config/deployment.ini_tmpl b/kallithea/config/deployment.ini_tmpl --- a/kallithea/config/deployment.ini_tmpl +++ b/kallithea/config/deployment.ini_tmpl @@ -17,6 +17,7 @@ pdebug = false ################################################################################ #email_to = admin@localhost #error_email_from = paste_error@localhost +#error_subject_prefix = #app_email_from = kallithea-noreply@localhost #email_prefix = [Kallithea] diff --git a/test.ini b/test.ini --- a/test.ini +++ b/test.ini @@ -21,6 +21,7 @@ pdebug = false ################################################################################ #email_to = admin@localhost #error_email_from = paste_error@localhost +#error_subject_prefix = #app_email_from = kallithea-noreply@localhost #email_prefix = [Kallithea] _______________________________________________ kallithea-general mailing list [email protected] http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
