response error message in version update

This commit is contained in:
jack 2018-05-02 17:13:58 +08:00
parent c197c946a4
commit e89817b550
1 changed files with 1 additions and 1 deletions

View File

@ -2917,7 +2917,7 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid
$msg = "提交失败,请确认权限后重试";
if($this->debug>0)
{$msg .= $e->getMessage();}
$data = array("error"=>$msg);
$data = array("error"=>$msg, "detail"=>$e->getMessage());
$this->jsonexit($data);
return true;
}