-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
priority: normalThe issue/PR is normal priority—not many people are affected or there’s a workaround, etc.The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.type: enhancementThe issue is a request for an enhancement.The issue is a request for an enhancement.
Description
We observed a case of getting an error logged (6929293-zd-a8c)
scheduled action 19105 (subscription payment) failed to finish processing due to the following exception: Call to a member function set() on null
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.
Metadata
Metadata
Assignees
Labels
priority: normalThe issue/PR is normal priority—not many people are affected or there’s a workaround, etc.The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.type: enhancementThe issue is a request for an enhancement.The issue is a request for an enhancement.