You've already forked wakapi-readme-stats
Update main.py
Added Proper error message for the error returned from waka time api
This commit is contained in:
committed by
GitHub
parent
eccbf9f0a8
commit
0aa5992fdb
2
main.py
2
main.py
@@ -192,7 +192,7 @@ def get_stats():
|
|||||||
|
|
||||||
stats = stats + '```\n\n'
|
stats = stats + '```\n\n'
|
||||||
else:
|
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:
|
except Exception as e:
|
||||||
print("Waka Time Api Key Not Configured" + str(e))
|
print("Waka Time Api Key Not Configured" + str(e))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user