Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log with lower severity when resources.json is not found #650

Open
paukert opened this issue Apr 5, 2025 · 0 comments
Open

Log with lower severity when resources.json is not found #650

paukert opened this issue Apr 5, 2025 · 0 comments

Comments

@paukert
Copy link

paukert commented Apr 5, 2025

Export server version: v5.0.0
Highcharts version: 10.2.1

Configuration:

  • CUSTOM_LOGIC_ALLOW_CODE_EXECUTION = true (code execution is allowed to support passing JS functions to formatters)
  • --enableServer 1 (as was already mentioned in Docker file for V3 #451 (comment), setting env variable SERVER_ENABLE does not work and it has to be passed as parameter in ENTRYPOINT)

Current behaviour:
When code execution is allowed, the server assumes that there should be resources.json file and if there is none, it issues a warning.

Expected behaviour:
Server does not log message with warning severity.

Export server logs:

2025-04-05 14:52:14 Sat Apr 05 2025 12:52:14 GMT+0000 [warning] - [chart] Unable to load the default resources.json file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant