autowisp.browser_interface.processing.error_views module

Class Inheritance Diagram

Inheritance diagram of Error, Http404, HttpResponse, datetime, timezone

Views for browsing recorded pipeline/step/BUI errors.

autowisp.browser_interface.processing.error_views.delete_error_view(request, error_id)[source]

Delete an error record (row + sidecar), then return to the list.

Always returns to the list – the detail page it may have come from no longer exists.

autowisp.browser_interface.processing.error_views.download_crash_report(request, error_id)[source]

Build and stream a credential-scrubbed crash-report zip for an error.

autowisp.browser_interface.processing.error_views.error_detail_view(request, error_id)[source]

Show one error in full.

Defaults to the user-facing view; ?developer=1 reveals the technical fields (message, traceback, details, worker/host info) loaded from the detail sidecar.

autowisp.browser_interface.processing.error_views.error_list(request)[source]

Show every recorded error for the project, newest first.

Backed by the queryable columns only – no detail sidecar is opened – so the list stays cheap. An optional run query parameter restricts to a single pipeline run.

autowisp.browser_interface.processing.error_views.toggle_error_resolved(request, error_id)[source]

Mark an error resolved, or reopen it, then return to the list.

Resolving sets the resolved timestamp (the error drops out of the badge, the progress-grid markers, and the start-processing gate, but stays in the list as history); reopening clears it.