From 0aa5992fdb720572224cc0cc21c529b809b38b22 Mon Sep 17 00:00:00 2001 From: Anmol Pratap Singh <63726491+misteranmol@users.noreply.github.com> Date: Thu, 23 Jul 2020 12:39:18 +0530 Subject: [PATCH] Update main.py Added Proper error message for the error returned from waka time api --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0203a68..7314f43 100644 --- a/main.py +++ b/main.py @@ -192,7 +192,7 @@ def get_stats(): stats = stats + '```\n\n' else: - print("Waka Time Api Key Not Configured Properly") + print("Error With WAKA time API returned "+request.status_code + " Response "+ request.json()) except Exception as e: print("Waka Time Api Key Not Configured" + str(e))