We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sassnowski\Venture\Serializer\UnserializeException: Unable to unserialize job
Anytime I start a workflow
`class ProcessIssuingTransactionWebhookReceivedWorkflow extends AbstractWorkflow { public function __construct( private array $validated_data, ) { }
/** * @throws InvalidJobException * @throws DuplicateJobException */ public function definition(): WorkflowDefinition { $validated_data = $this->validated_data; return $this->define('Process new webhook transaction :'.$validated_data['event'].'/'.$validated_data['data']['reference'].'/'.$validated_data['mode']) ->addJob(new SaveWebhookJob('issuing', $validated_data)) . . . ->catch(function (Workflow $workflow, WorkflowableJob $step, Throwable $exception) { logToSentry($exception); $workflow->cancel(); }); }
}`
The text was updated successfully, but these errors were encountered:
What am I doing wrong?
Sorry, something went wrong.
As a test, can you remove the logToSentry($exception) line from the catch callback and try again?
logToSentry($exception)
catch
Thank you @ksassnowski, Apparently there is an issue with the Jobs when you implement - ShouldBeEncrypted - trait.
No branches or pull requests
Sassnowski\Venture\Serializer\UnserializeException: Unable to unserialize job
Anytime I start a workflow
`class ProcessIssuingTransactionWebhookReceivedWorkflow extends AbstractWorkflow
{
public function __construct(
private array $validated_data,
) {
}
}`
The text was updated successfully, but these errors were encountered: