diff --git a/shared-data/python/opentrons_shared_data/errors/exceptions.py b/shared-data/python/opentrons_shared_data/errors/exceptions.py index fc1fc0515fa..3dc59669826 100644 --- a/shared-data/python/opentrons_shared_data/errors/exceptions.py +++ b/shared-data/python/opentrons_shared_data/errors/exceptions.py @@ -558,11 +558,9 @@ def __init__( """Build an UnmatchedTipPresenceStatesError.""" format_tip_state = {0: "not detected", 1: "detected"} msg = ( - "Received two differing tip presence statuses:" - "\nRear Sensor tips" - + format_tip_state[states[0]] - + "\nFront Sensor tips" - + format_tip_state[states[1]] + f"Received two differing tip presence statuses." + f" Rear Sensor tips: {format_tip_state[states[0]]}." + f" Front Sensor tips: {format_tip_state[states[1]]}." ) if detail: msg += str(detail)