diff --git a/redminebot.py b/redminebot.py index 38ac246..5ab4415 100755 --- a/redminebot.py +++ b/redminebot.py @@ -94,11 +94,11 @@ def parse_irc_messages(irc_msg: str) -> Tuple[str, str, str]: try: target = irc_msg.split(":")[1].split(" ")[2] except Exception: - LOGGER.exception("Exception raised to irc message parsing") + LOGGER.warning("Failed to parse target for actor='{}' in the following incoming irc message: {}".format(actor, irc_msg)) target = None return " ".join(irc_msg.split()), actor, target except Exception: - LOGGER.exception("Exception raised to irc message parsing") + LOGGER.exception("Failed to parse the following incoming irc message: {}".format(irc_msg)) return None, None, None