You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/deps/0/python/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR response = get_response(request)
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/deps/0/python/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR response = self.process_exception_by_middleware(e, request)
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/deps/0/python/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR response = wrapped_callback(request, *callback_args, **callback_kwargs)
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/app/fec/home/views.py", line 268, in contact_rad
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR form = ContactRAD()
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/app/fec/fec/forms.py", line 17, in __init__
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR category_options = [('', 'Choose a subject')] + form_categories()
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/app/fec/fec/forms.py", line 69, in form_categories
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR raw_categories = fetch_categories()
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR File "/home/vcap/app/fec/fec/forms.py", line 58, in fetch_categories
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR return r.json()['result']
2020-04-27T10:25:32.30-0400 [APP/PROC/WEB/2] ERR KeyError: 'result'
Add logging when unable to connect to ServiceNow. Slack alert? How to not send thousands of these? Maybe just a Pingdom alert for servicenow api instead of the contact page itself.
The text was updated successfully, but these errors were encountered:
The RAD contact page goes down when ServiceNow API is down. We should fall back to "look up your analyst" when we can't get to the ServiceNow API
How to test:
"FEC_SERVICE_NOW_API":
"FEC_SERVICE_NOW_PASSWORD":
"FEC_SERVICE_NOW_USERNAME":
Example error:
The text was updated successfully, but these errors were encountered: