Skip to content

Commit

Permalink
Improve verbosity on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
VGR6479 authored May 19, 2024
1 parent 2a6eec7 commit 88d08cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gerobug_dashboard/geromail/geroparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def read_mail():
# INVALID REPORT FORMAT
else:
logging.getLogger("Gerologger").warning('[ERROR 404] Report not valid')
payload[3] = "Wrong formatting."
payload[3] = "Unknown subject format."

logging.getLogger("Gerologger").info('============================')
geromailer.write_mail(code, payload, hunter_email)
Expand Down Expand Up @@ -552,4 +552,4 @@ def run():
mailbox.save()

read_mail()
time.sleep(30)
time.sleep(30)

0 comments on commit 88d08cd

Please sign in to comment.