response error message in version update
This commit is contained in:
parent
c197c946a4
commit
e89817b550
|
@ -2917,7 +2917,7 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid
|
||||||
$msg = "提交失败,请确认权限后重试";
|
$msg = "提交失败,请确认权限后重试";
|
||||||
if($this->debug>0)
|
if($this->debug>0)
|
||||||
{$msg .= $e->getMessage();}
|
{$msg .= $e->getMessage();}
|
||||||
$data = array("error"=>$msg);
|
$data = array("error"=>$msg, "detail"=>$e->getMessage());
|
||||||
$this->jsonexit($data);
|
$this->jsonexit($data);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue