Project

General

Profile

Actions

Refactor #32367

open

When webhook fails on rendering the template, the API response is the exception of the rendering without more explanation

Added by Marek Hulán about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

All I get is e.g. "undefined method host_name for nil Jail, as a user I'd like to get some more infromation, e.g. that the action failed because of the rendering error. We should probably add a rescue block around webhook template rendering and wrap it with nicer error message (still keeping the original info).

Also it seemed the whole activity was done in transaction, so e.g. the host was not created, is that expected behavior?

No data to display

Actions

Also available in: Atom PDF