Parcourir la source

paystack增加日志

kevin_zhangl il y a 3 ans
Parent
commit
350c5e4a20
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      frontendApi/modules/v1/controllers/ShopController.php

+ 1 - 0
frontendApi/modules/v1/controllers/ShopController.php

@@ -217,6 +217,7 @@ class ShopController extends BaseController {
 //                return static::notice($order);
                 return http_response_code(200);
             } else {
+                LoggerTool::error(Form::formatErrorsForApi($formModel->getErrors()));
                 return http_response_code(500);
             }
         }