作者 邓超

x

... ... @@ -81,6 +81,7 @@ trait DbQuery {
$ret = $query->execute($params);
}catch (\Throwable $e){
if($this->isThrow){
$this->isThrow = false;
throw new DbException($e->getMessage(),$sql,$params,$e);
}
logs([
... ...