Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Return an error on publish if the publisher's state is not RUNNI…
…NG (#81) * Throw an exception on publish if the publisher state is not RUNNING * Immediately return failed future * Moved check to PublisherImpl * Tests for PublisherImplTest * Throw a permanent error when publishing before starting the service * Remove comment * Check for permanent failure by trying to start publisher
- Loading branch information
Showing
2 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters