Skip to content

Better stack/error tracing #460

@lianna-blanca

Description

@lianna-blanca

We have frequently had an issue in which queued jobs break but do not give us enough information to trace the error.

For example:

[ERROR] No current controller available in /var/www/mysite/releases/3eb2e804b2209d2b9b6d5880414ba25caf2e399b/vendor/silverstripe/framework/src/Control/Controller.php at line 524 {"exception":"[object] (Exception(code: 512): No current controller available in /var/www/mysite/releases/3eb2e804b2209d2b9b6d5880414ba25caf2e399b/vendor/silverstripe/framework/src/Control/Controller.php at line 524 at /var/www/mysite/releases/3eb2e804b2209d2b9b6d5880414ba25caf2e399b/vendor/symbiote/silverstripe-queuedjobs/src/Services/JobErrorHandler.php:41)"} []

Image

This ⬆ error has happened many times, and has been caused by several different circumstances, some of which we still haven't been able to trace.

A more detailed stack/error trace in the error messages, for this and similar issues, would be extremely helpful for future debugging.

Related

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions