调整
This commit is contained in:
parent
1a285481dc
commit
69642477be
|
|
@ -147,7 +147,8 @@ class Aftersale extends Backend
|
|||
Db::commit();
|
||||
} catch (ValidateException|PDOException|Exception $e) {
|
||||
Db::rollback();
|
||||
$this->error($e->getMessage());
|
||||
throw $e;
|
||||
// $this->error($e->getMessage());
|
||||
}
|
||||
if ($result === false) {
|
||||
$this->error(__('No rows were inserted'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user