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
The error messages that get fed back from the open311 adapter to the scripts calling it are very brief and don't seem to include the details, only the error code. We should include details of the error.
E.g. for the Salesforce one if the credentials have expired it only returns request failed: 500 Internal Server Error which does not help to diagnose the problem.
The text was updated successfully, but these errors were encountered:
struan
changed the title
Better error messages
Error messages should be better
Apr 26, 2018
I think this is up to the integration what it dies with - the SalesForce integration only outputs the status line unless the content JSON is an array whose first element contains errorCode, in which case it uses that. Perhaps it could include the full content, whatever it may be, or add a logger->error line if it's an error, instead of the logger->debug one always.
The error messages that get fed back from the open311 adapter to the scripts calling it are very brief and don't seem to include the details, only the error code. We should include details of the error.
E.g. for the Salesforce one if the credentials have expired it only returns
request failed: 500 Internal Server Error
which does not help to diagnose the problem.The text was updated successfully, but these errors were encountered: