imporved error message

pull/1479/head
electro199 2 years ago
parent 905c506ff0
commit 64c8118379

@ -110,9 +110,8 @@ if __name__ == "__main__":
except Exception as err: except Exception as err:
print_step(f''' print_step(f'''
Sorry, something went wrong with this version! Try again, and feel free to report this issue at GitHub or the Discord community.\n Sorry, something went wrong with this version! Try again, and feel free to report this issue at GitHub or the Discord community.\n
Version: {__VERSION__} \n Version: {__VERSION__},Story mode: {str(config["settings"]["storymode"])}, Story mode method: {str(config["settings"]["storymodemethod"])},
Story mode: {str(config["settings"]["storymode"])} \n Postid : {str(config["settings"])},allownsfw :{config["settings"]["allow_nsfw"]},is_nsfw : {reddit_object["is_nsfw"]}
Story mode method: {str(config["settings"]["storymodemethod"])}
''') ''')
raise err raise err
# todo error # todo error

Loading…
Cancel
Save