cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the autogenerated number in WebscriptException message?

mbel
Star Contributor
Star Contributor

I have html.400.ftl file for handling WebScriptException with status 400.

I want to show the error message which I have written in the back-end side.

However, It autogenerates some number in front of the message ( 10040034 'Message' ) and print it with the message.

Is there any way of deleting it or?

Thank you in advance.

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

This number is generated for all Alfresco Exception instances. It is based on the current date / time to help identify the exception in log files. You can remove them in your html.400.ftl by simply stripping it away with the ?substring() builtin for String.

View answer in original post

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

This number is generated for all Alfresco Exception instances. It is based on the current date / time to help identify the exception in log files. You can remove them in your html.400.ftl by simply stripping it away with the ?substring() builtin for String.