More descriptive exception message #994
Labels
priority: normal
The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
We observed a case of getting an error logged (6929293-zd-a8c)
which doesn't help debug what is causing the issue.
Changing
$e->getMessage()
to$e->getTraceAsString()
in this line:https://github.com/woocommerce/action-scheduler/blob/0bed905d55cc043ccb6175e66e0d4977a81c173a/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php#L94
gave more descriptive message indicating to the conflicting plugin.I'm not sure if that change is the best approach but in general the existing reporting does obscure crucial debugging information.
The text was updated successfully, but these errors were encountered: