Changes on Error Type, Error Code and the Error Title in Secure Proxy Server ?Error Report

Document ID : KB000013329
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Changes on Error Type, Error Code and  the Error Title in Secure Proxy Server –Error Report

Question:

How can we change the Error Type and Error Code and also the Error Title Secure Proxy Server –Error Report?

when lets say backend server is not available/working/stopped.?  

The issue is application user and monitoring team gets panic when they see the error message and error code and SPS exception message when something is not working on backend. 

we need to have a meaningful message instead of error/exception in the error page.

Secure Proxy Server - Error Report

Error Details 

Request URI : /sso/index.html 

Error Type : SPS Exception 

Error Code : Noodle_ConnectException 

Message : Indicates error at noodle stage. More detailed in SPS logs

Environment:
Applicable for all the environments
Answer:

We do have an option to change the Message as required using message.properties file inside <SPS_Install>/Tomcat/properties/ folder.

But Error Type and Error Code are coming from SPS code, Hence we may not be able to change it.

Enhancement request has been created for the same.

https://communities.ca.com/ideas/235734631

Additional Information:

https://communities.ca.com/ideas/235734631