From 64c8118379f7d52b60f21c2aeb9e71efa3373419 Mon Sep 17 00:00:00 2001 From: electro199 Date: Fri, 3 Feb 2023 23:05:50 +0500 Subject: [PATCH] imporved error message --- main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index dcb1861..50ca371 100755 --- a/main.py +++ b/main.py @@ -110,9 +110,8 @@ if __name__ == "__main__": except Exception as err: 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 - Version: {__VERSION__} \n - Story mode: {str(config["settings"]["storymode"])} \n - Story mode method: {str(config["settings"]["storymodemethod"])} + Version: {__VERSION__},Story mode: {str(config["settings"]["storymode"])}, Story mode method: {str(config["settings"]["storymodemethod"])}, + Postid : {str(config["settings"])},allownsfw :{config["settings"]["allow_nsfw"]},is_nsfw : {reddit_object["is_nsfw"]} ''') raise err # todo error