diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 01df184f..2fe15ea2 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -2919,8 +2919,10 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid }catch(Exception $e) { $msg = "提交失败,请确认权限后重试"; if($this->debug>0) - {$msg .= $e->getMessage();} - $data = array("error"=>$msg, "detail"=>$e->getMessage()); + { + $msg .= $e->getMessage(); + } + $data = array("error"=>$msg, "detail"=>$e->getMessage(), 'line'=>$e->getLine(), 'code'=>$e->getCode(), 'trace'=>$e->getTrace(), 'file'=>$e->getFile()); $this->jsonexit($data); return true; }