Skip to content

Commit

Permalink
try to ignore empty
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Aug 2, 2024
1 parent fdc4f0a commit 2a0b7f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ofscraper/utils/logs/classes/handlers/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ def emit(self, record):
return
elif record in log_globals.stop_codes:
return
elif record.message=="":
return
log_entry = self.format(record)
log_entry = f"{log_entry}\n\n"
if constants.getattr("DISCORD_ASYNC"):
Expand Down

0 comments on commit 2a0b7f3

Please sign in to comment.