作者 邓超

x

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