mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-27 05:15:03 +08:00
fix: 移除注释
This commit is contained in:
parent
195c98ddd2
commit
0f9b8fcca8
1
main.py
1
main.py
@ -26,7 +26,6 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
nonebot.run()
|
nonebot.run()
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
# 排除键盘中断
|
|
||||||
if not isinstance(e, KeyboardInterrupt):
|
if not isinstance(e, KeyboardInterrupt):
|
||||||
nonebot.logger.error(f"An error occurred: {e}, Bug will be reported automatically.")
|
nonebot.logger.error(f"An error occurred: {e}, Bug will be reported automatically.")
|
||||||
liteyuki_api.bug_report(str(e.__repr__()))
|
liteyuki_api.bug_report(str(e.__repr__()))
|
||||||
|
Loading…
Reference in New Issue
Block a user