|
|
@@ -78,6 +78,7 @@ class TelegramWebHook extends BaseController
|
|
|
} //
|
|
|
catch (TelegramSDKException $e) {
|
|
|
DB::rollBack();
|
|
|
+ LogService::error($e);
|
|
|
$telegram->sendMessage(['chat_id' => $chatId, 'text' => '‼️‼️系统发生了错误,请联系客服']);
|
|
|
}//
|
|
|
catch (Exception $e) {
|
|
|
@@ -110,6 +111,7 @@ class TelegramWebHook extends BaseController
|
|
|
} //
|
|
|
catch (TelegramSDKException $e) {
|
|
|
DB::rollBack();
|
|
|
+ LogService::error($e);
|
|
|
$telegram->sendMessage(['chat_id' => $chatId, 'text' => '‼️‼️系统发生了错误,请联系客服']);
|
|
|
}//
|
|
|
catch (Exception $e) {
|
|
|
@@ -122,6 +124,7 @@ class TelegramWebHook extends BaseController
|
|
|
}
|
|
|
} //
|
|
|
catch (Exception $e) {
|
|
|
+ LogService::error($e);
|
|
|
if (!empty($chatId)) {
|
|
|
$telegram->sendMessage(['chat_id' => $chatId, 'text' => '‼️‼️系统发生了错误,请联系客服']);
|
|
|
}
|