ui.modern.freemarker.error_format

Specifies in which format the Freemarker errors should be displayed in the browser

Key: ui.modern.freemarker.error_format
Type: ErrorFormat allowed values: exception, html, json or string
Can be set in: profile.cfg, collection.cfg

Description

This option specifies in which format the (FreeMarker) errors should be displayed in the browser, assuming ui.modern.freemarker.display_errors is enabled.

Possible values:

  • exception: Stop the template file processing and display the error message.

  • html: Wrap the error message in HTML comment tags.

  • json: Wrap the error message in JSON comment tags.

  • string: Display the bare error message.

Default Value

When an error occurs, stop template processing and display an error message:

ui.modern.freemarker.error_format=exception

Examples

Output error messages in HTML comments:

ui.modern.freemarker.error_format=html