From 3ebac576630884316c047c281204b266b57fc790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C4=B1lmaz=20Alpaslan?= Date: Sun, 2 Jan 2022 16:26:10 +0300 Subject: [PATCH] Make exception messages clearer --- perspective/main.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/perspective/main.py b/perspective/main.py index 7809aa0..cca3ae0 100644 --- a/perspective/main.py +++ b/perspective/main.py @@ -414,8 +414,10 @@ def __init__(self, token: str): except errors.HttpError as exceptionDetails: if str(exceptionDetails).startswith(f"