crash!
This commit is contained in:
parent
56d291bcb1
commit
4f2e3b7245
@ -89,11 +89,9 @@ def create_crash_report(info: str = None) -> None:
|
|||||||
crash_file.write(markdown_line_handler(f'DR Version: {str(Difficult_Rocket.Version)}', level=1))
|
crash_file.write(markdown_line_handler(f'DR Version: {str(Difficult_Rocket.Version)}', level=1))
|
||||||
# # DR 的游戏设置
|
# # DR 的游戏设置
|
||||||
crash_file.write(DR_configs)
|
crash_file.write(DR_configs)
|
||||||
try:
|
|
||||||
for key, value in Difficult_Rocket.DR_options.items():
|
for key, value in Difficult_Rocket.DR_options.items():
|
||||||
crash_file.write(markdown_line_handler(f'Option: {to_code(key)} Type: {to_code(Difficult_Rocket)}', level=1))
|
crash_file.write(markdown_line_handler(f'Option: {to_code(key)} Type: {to_code(Difficult_Rocket.DR_option_type(key))}', level=1))
|
||||||
except RuntimeError:
|
crash_file.write(markdown_line_handler(f'Value: {to_code(value)}', level=2))
|
||||||
pass
|
|
||||||
# 多进程信息
|
# 多进程信息
|
||||||
crash_file.write(Process_message)
|
crash_file.write(Process_message)
|
||||||
for process in all_process:
|
for process in all_process:
|
||||||
|
Loading…
Reference in New Issue
Block a user