Skip to content

Commit fe28bf3

Browse files
Niloth-ptimabbott
authored andcommitted
google-calendar: Log writing to the tokens file.
1 parent fadfc4b commit fe28bf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

zulip/integrations/google/get-google-credentials

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def get_credentials(
6363
creds = flow.credentials
6464
else:
6565
creds = flow.run_local_server(port=0)
66-
with open(tokens_path, "w") as token:
67-
token.write(creds.to_json())
66+
with open(tokens_path, "w") as token_file:
67+
token_file.write(creds.to_json())
68+
logging.info("Saved tokens to %s", tokens_path)
6869
return creds

0 commit comments

Comments
 (0)