ryan 3 недель назад
Родитель
Сommit
f4654c8bbe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      frontendApi/modules/v1/controllers/UserController.php

+ 1 - 1
frontendApi/modules/v1/controllers/UserController.php

@@ -576,7 +576,7 @@ 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('Unable to process guest order.'.$e->getMessage(), 500);
         }
     }