[ckan-dev] Change Error Emails Template
Biz Tweets
optweets at gmail.com
Tue Oct 16 21:11:21 UTC 2018
I set my production.ini to send out error emails that arise when I get an
internal server error.
How can I change the template of this email and or subject header? I can't
find where this template is kept in ckan.
It seems to have a default template as so ( this is just an example):
Subject: WebApp Error: <type 'exceptions.KeyError'>: "Error Here"
Content:
Module ckanext.adfs.plugin:*125* in login
>> eggsmell = pylons.request.POST['SAMLResponse']
Module webob.multidict:*313* in __getitem__
>> return self._decode_value(self.multi.__getitem__(self._encode_key(key)))
Module webob.multidict:*569* in __getitem__
>> raise KeyError("No key %r: %s" % (key, self.reason))
*KeyError: "No key 'wresult': Not a form request"*
CGI Variables
CKAN_CURRENT_URL '/user/login/'
CKAN_LANG 'en'
CKAN_LANG_IS_DEFAULT True
CONTEXT_DOCUMENT_ROOT '/var/www/html'
DOCUMENT_ROOT '/var/www/html'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20181016/62909a13/attachment.html>
More information about the ckan-dev
mailing list