Skip to content

Commit

Permalink
Fixes double-call to exception logging
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Feb 14, 2024
1 parent 770c27f commit c31d67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion burr/core/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _format_error_message(action: Action, input_state: State) -> str:
input_string = _create_dict_string(input_state.get_all())
message += "\n> State (at time of action):\n" + input_string
border = "*" * 80
logger.exception("\n" + border + "\n" + message + "\n" + border)
return "\n" + border + "\n" + message + "\n" + border


def _run_single_step_action(action: SingleStepAction, state: State) -> Tuple[dict, State]:
Expand Down

0 comments on commit c31d67a

Please sign in to comment.