1
0
Fork 0

more error handling

This commit is contained in:
Nyx 2025-01-31 21:20:16 -06:00
parent 87cc4999dc
commit 0306704d69

View file

@ -30,6 +30,6 @@ def fetchQuoteData(quoteId):
print(quoteData.json())
else:
print(f"An error occured while saving the file: {quoteData.status_code}")
return None
return "This file probably doesn't exist."
fetchQuoteData(178)