Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: emit boot error only once #1472

Merged
merged 2 commits into from
Jul 27, 2018
Merged

fix: emit boot error only once #1472

merged 2 commits into from
Jul 27, 2018

Conversation

alanshaw
Copy link
Member

init and start both emit any error they encounter. boot will then receive that error and also emit it! This PR adds an emitted property in boot to errors that came from init or start so that later in the code it knows whether to emit it or not!

`init` and `start` both emit any error they encounter. `boot` will then receive that error and also emit it! This PR adds an `emitted` property in `boot` to errors that came from `init` or `start` so that later in the code it knows whether to emit it or not!

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
@ghost ghost assigned alanshaw Jul 27, 2018
@ghost ghost added the status/in-progress In progress label Jul 27, 2018
@alanshaw alanshaw requested a review from daviddias July 27, 2018 11:18
@alanshaw alanshaw merged commit 45b80a0 into master Jul 27, 2018
@alanshaw alanshaw deleted the fix/emit-error-once branch July 27, 2018 12:58
@ghost ghost removed the status/in-progress In progress label Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants