new stage code
This commit is contained in:
@@ -60,8 +60,13 @@ final class PaymentWebhookController extends Controller
|
||||
});
|
||||
} catch (\Throwable $e) {
|
||||
report($e);
|
||||
|
||||
return response()->json(['message' => 'Webhook could not be processed.'], 500);
|
||||
return response()->json([
|
||||
'message' => 'Webhook could not be processed.',
|
||||
'exception' => get_class($e),
|
||||
'error' => $e->getMessage(),
|
||||
'file' => $e->getFile(),
|
||||
'line' => $e->getLine(),
|
||||
], 500);
|
||||
}
|
||||
|
||||
// Delivery is intentionally outside the webhook transaction. A temporary mail
|
||||
|
||||
Reference in New Issue
Block a user