Skip to content

Commit

Permalink
Add mising 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 Jul 13, 2023
1 parent 40590ed commit 21a6276
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 21a6276

Please sign in to comment.