arcadedb icon indicating copy to clipboard operation
arcadedb copied to clipboard

Show error message in console without stack trace

Open ansarizafar opened this issue 1 year ago • 1 comments

ArcadeDB Version:

All

OS and JDK Version:

All

Expected behavior

Error messages in the console should be displayed without stack trace. It is also suggested to use a lighter color for better contrast and readability specially for people with vision issues.

Actual behavior

Currently error messages are displayed in console with long stack trace which doesn't look good.

image

ansarizafar avatar Dec 15 '23 07:12 ansarizafar

Hi, as I read it, there are two parts to your issue:

  1. The output color of errors: I am not sure this should be influenced by ArcadeDB, but is rather a terminal/shell setting for error messages identified by being send to stderr.

  2. I think the stack trace can be shut off by using the server modes test or production, see also the server.mode setting.

gramian avatar Dec 15 '23 07:12 gramian