Skip to content

Don't hide the start exception when failing to start and stop#14

Open
magnars wants to merge 1 commit intoweavejester:masterfrom
magnars:dont-hide-start-exception
Open

Don't hide the start exception when failing to start and stop#14
magnars wants to merge 1 commit intoweavejester:masterfrom
magnars:dont-hide-start-exception

Conversation

@magnars
Copy link

@magnars magnars commented Nov 28, 2019

When failing to start the system, the start exception is more interesting than
the stop exception. This change prioritizes start-ex over stop-ex in the
exception cause chain.

The start-exception is still included in the ex-data, to avoid breaking any code
expecting to find it there.

When failing to start the system, the start exception is more interesting than
the stop exception. This change prioritizes start-ex over stop-ex in the
exception cause chain.

The start-exception is still included in the ex-data, to avoid breaking any code
expecting to find it there.
@aengelberg
Copy link

I agree this would be a great change. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants