Skip to content

Commit

Permalink
refactor(deltachat-rpc-client): remove print() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Oct 7, 2023
1 parent b360225 commit 09798df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def get_online_account(self) -> Account:
account.start_io()
while True:
event = account.wait_for_event()
print(event)
if event.type == EventType.IMAP_INBOX_IDLE:
break
return account
Expand Down
2 changes: 1 addition & 1 deletion deltachat-rpc-client/src/deltachat_rpc_client/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def reader_loop(self) -> None:
self.request_results[response_id] = response
event.set()
else:
print(response)
logging.warning("Got a response without ID: %s", response)
except Exception:
# Log an exception if the reader loop dies.
logging.exception("Exception in the reader loop")
Expand Down

0 comments on commit 09798df

Please sign in to comment.