Page MenuHomePhabricator

Provide more information when jobs fail due to exceptions
Closed, DeclinedPublic


Currently if a job throws any exception we catch it and simply set the state of the job / task / target to FAILED :/
It is hard to determine why the job has failed and we should provide more information in the UI.

This will likely mean taking the exception type and message and shoving them somewhere in the DB alongside the failed state object.

Event Timeline

Addshore raised the priority of this task from to Medium.
Addshore updated the task description. (Show Details)
Addshore added a project: MassAction.
Addshore added a subscriber: Addshore.

Hmm. Careful here. Some sites consider it a security risk to expose exception details to users.

Currently the failure exceptions get logged into the 'massaction' log.
Need some way to expose more details to the use though, perhaps just exception names to start with, and depending on the type of exception otherdetails about the message could be given.

Kizule added a subscriber: Kizule.

Closing as declined because of archival per T207137.