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