respond
respond copied to clipboard
Add Error catching around Webhooks
Add error handling around webhooks at: App\Respond\Models\Submission.php
Just curious, what is the scenario that makes this necessary? You want to return an error to the end user if the webhook fails when a form is submitted? That seems like a good idea. Another option would be to hand the webhook request over to Lumen's queuing subsystem upon form submission, but that probably adds more complexity to Respond than is really optimal.
I had an error around that reported again. My guess is that it is related to the PHP version. But, I am not certain. I probably won't add error handling around it. I think I would rather just only execute this code if the the webhooks are enabled in the .env file.