Skip to content

Commit

Permalink
If you write a comment describing your sins, that makes the sins okay.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Apr 5, 2024
1 parent 02344a2 commit 3350202
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/opentrons/protocol_engine/actions/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ class FailCommandAction:
type: ErrorRecoveryType
"""How this error should be handled in the context of the overall run."""

# This is a quick hack so FailCommandAction handlers can get the params of the
# command that failed. We probably want this to be a new "failure details"
# object instead, similar to how succeeded commands can send a "private result"
# to Protocol Engine internals.
running_command: Command
"""The command to fail, in its prior `running` state."""

Expand Down

0 comments on commit 3350202

Please sign in to comment.