|
|
@@ -682,7 +682,13 @@ class UserController extends BaseController {
|
|
|
if ($e instanceof \yii\web\HttpException) {
|
|
|
return static::notice($e->getMessage(), $e->statusCode);
|
|
|
}
|
|
|
- return static::notice('Unable to process guest order.', 500);
|
|
|
+ return static::notice([
|
|
|
+ 'event' => 'guestDec_failed',
|
|
|
+ 'exception' => get_class($e),
|
|
|
+ 'message' => $e->getMessage(),
|
|
|
+ 'file' => basename($e->getFile()),
|
|
|
+ 'line' => $e->getLine(),
|
|
|
+ ], 500);
|
|
|
}
|
|
|
}
|
|
|
|