Skip to content

Commit

Permalink
Modifying the logging message to be more descriptive when the channel…
Browse files Browse the repository at this point in the history
… has been archived
  • Loading branch information
sylviamclaughlin authored Mar 27, 2024
1 parent f5988a8 commit b369252
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/modules/incident/incident_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ def close_incident(client, body, ack):
)
else:
# Log the message that the user has archived the channel.
logging.info(f"<@{user_id}> has archived this channel")
logging.info(
"Channel %s has been archived by %s", channel_name, f"<@{user_id}>"
)


def stale_incidents(client, body, ack):
Expand Down

0 comments on commit b369252

Please sign in to comment.