Skip to content

Instantly share code, notes, and snippets.

@pfulop
Created February 24, 2019 09:51
Show Gist options
  • Save pfulop/3b11c23ac686f8f0a42dcac5df78eeb5 to your computer and use it in GitHub Desktop.
Save pfulop/3b11c23ac686f8f0a42dcac5df78eeb5 to your computer and use it in GitHub Desktop.
Example of vtl error log
$util.error($util.toJson($variable), "404")
#**
Where $variable is variable to print out in response.
*#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment