|
@@ -680,6 +680,7 @@ class DevicePushService:
|
|
|
return True
|
|
|
ERROR_INFO_LOGGER.info('小米推送异常,uid:{},状态码{},时间:{},结果:{},'
|
|
|
.format(uid, response.status_code, n_time, response.json()))
|
|
|
+ return False
|
|
|
except Exception as e:
|
|
|
ERROR_INFO_LOGGER.info('小米推送异常,uid:{},时间:{},error_line:{},error_msg:{}'.
|
|
|
format(uid, n_time, e.__traceback__.tb_lineno, repr(e)))
|