Skip to content

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

By default, when an error occurs, the template file processing stops and the full error message is displayed:

ui.modern.freemarker.error_format=exception

Examples

Output error messages in HTML comments:

ui.modern.freemarker.error_format=html

See Also

top

Funnelback logo
v15.24.0