Internal Error Message

Hi,

In my application when ever the server / internet goes down, it is showing Internal Error in a Red Box. How could I handle it or Change it to “Check Your Internet Connection”.

Regards,
Dhanush

Hi,

Could you attach a screenshot? What do you mean by “Internal error”? It should be “Server connection lost, trying to reconnect”.

You can change these messages in your main message pack (https://doc.cuba-platform.com/manual-6.6/main_message_pack.html) using the following message keys:

sessionExpiredErrorCaption=Session expired
sessionExpiredErrorMessage=Pay attention to any unsaved data,  and <u>click here</u> to continue.

communicationErrorCaption=Communication problem
communicationErrorMessage=Pay attention to any unsaved data, and  <u>click here</u> to continue.

internalErrorCaption=Internal error
internalErrorMessage=Please notify the administrator.<br/>Pay attention to any unsaved data, and <u>click here</u> to continue.

reconnectDialogText=Server connection lost, trying to reconnect...
reconnectDialogTextGaveUp=Server connection lost

Usually, if “Internal error” appears that means there is a critical error on server side and you should check application log files.