You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from extras.reports import Report
class testtrace(Report):
name = "testtrace"
description = "testtrace"
def test_trace(self):
if true:
raise NotImplementedError("Error")
self.log_info(".",".")
Expected Behavior
A trace should be shown so you can troubleshoot the problem
Observed Behavior
The text was updated successfully, but these errors were encountered:
The report results list is intended to convey only information logged by reports directly, and not fatal errors. This would need to be a feature request, however #13334 has already been implemented for the upcoming release of NetBox v3.7. This change ensures that any errors resulting from the execution of a background job are recorded on the job record itself, which I believe satisfies your use case.
Also, take note that reports are slated for removal in NetBox v4.0 (see #12510).
NetBox version
v3.6.6
Python version
3.10
Steps to Reproduce
errored
stateexample:
Expected Behavior
A trace should be shown so you can troubleshoot the problem
Observed Behavior
The text was updated successfully, but these errors were encountered: