Skip to content

Commit d71b435

Browse files
authored
chore(app): make sure dynamic pipetting errors propagate correctly (#20022)
# Overview The aspirate/dispense while tracking has to propagate the right type of overpressure error.
1 parent 3b14305 commit d71b435

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/organisms/ErrorRecoveryFlows/utils/getErrorKind.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ export function getErrorKind(
2626
case 'prepareToAspirate':
2727
return ERROR_KINDS.OVERPRESSURE_PREPARE_TO_ASPIRATE
2828
case 'aspirate':
29-
case 'aspirateInPlace': {
29+
case 'aspirateInPlace':
30+
case 'aspirateWhileTracking': {
3031
return ERROR_KINDS.OVERPRESSURE_WHILE_ASPIRATING
3132
}
3233
case 'dispense':
3334
case 'dispenseInPlace':
35+
case 'dispenseWhileTracking':
3436
case 'blowout':
3537
case 'blowOutInPlace':
3638
return ERROR_KINDS.OVERPRESSURE_WHILE_DISPENSING

0 commit comments

Comments
 (0)