fix webpush

This commit is contained in:
jxxghp
2024-06-07 21:53:48 +08:00
parent 9e0751367b
commit f8fbf9b5eb
2 changed files with 8 additions and 8 deletions

View File

@ -61,7 +61,7 @@ class WebPushModule(_ModuleBase):
},
)
except WebPushException as err:
print("WebPush Error:", str(err))
logger.error(f"WebPush发送失败: {str(err)}")
except Exception as msg_e:
logger.error(f"发送消息失败:{msg_e}")