Exceptions are unhandled when rendering a config template via the REST API #12167
Labels
beta
Concerns a bug/feature in a beta release
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5-beta1
Python version
3.8
Steps to Reproduce
/api/dcim/devices/<id>/render-config/
endpointExpected Behavior
Rendering should fail and return an error message indicating the reason. (The template filter
bar
is invalid.)Observed Behavior
A
TemplateAssertionError
exception is raised and not handled.The text was updated successfully, but these errors were encountered: