diff --git a/omnibot/routes/api.py b/omnibot/routes/api.py index 45bf523..130fd7e 100644 --- a/omnibot/routes/api.py +++ b/omnibot/routes/api.py @@ -721,7 +721,10 @@ def _perform_action(bot, data): logger.warning( "action failed in post_slack, attempting as user.", extra=merge_logging_context( - {"action": action}, + { + "action": action, + "error": ret.get("error"), + }, bot.logging_context, ), )