|
|
@ -81,6 +81,7 @@ class Commands |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (\Exception $th) { |
|
|
|
} catch (\Exception $th) { |
|
|
|
|
|
|
|
logger('Commands')->error($th->getMessage()); |
|
|
|
$this->atendimentoRepository->db->rollback(); |
|
|
|
$this->atendimentoRepository->db->rollback(); |
|
|
|
$this->api->enviarMsg($numero, CONF_NAME_REPONSE . " : " . $th->getMessage()); |
|
|
|
$this->api->enviarMsg($numero, CONF_NAME_REPONSE . " : " . $th->getMessage()); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|