gorden пре 3 месеци
родитељ
комит
e36a81faef
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/controller/Curd.php

+ 1 - 1
app/controller/Curd.php

@@ -127,7 +127,7 @@ class Curd
         } catch (BusinessException $e) {
         } catch (BusinessException $e) {
             return json_fail($e->getMessage());
             return json_fail($e->getMessage());
         } catch (\Exception $e) {
         } catch (\Exception $e) {
-            dump($e->getMessage());
+            Log::error("数据更新失败",['msg'=>$e->getMessage()]);
             return json_fail('数据更新失败');
             return json_fail('数据更新失败');
         }
         }