Skip to content

Commit

Permalink
Add missing driver failure signal
Browse files Browse the repository at this point in the history
If there's an exception while the driver is being created,
the error is not being propagated to the state machine.
This can cause tasks to not be destroyed and blocked
drivers to not be canceled.
  • Loading branch information
martint committed Aug 15, 2023
1 parent e523dd6 commit 9ea55d3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public Driver createDriver(DriverContext driverContext)
}
}
}
driverContext.failed(failure);
throw failure;
}
}
Expand Down

0 comments on commit 9ea55d3

Please sign in to comment.