Kill the streamer if registration fails
This commit is contained in:
parent
43fbf36485
commit
80914a5801
1 changed files with 3 additions and 0 deletions
|
@ -142,6 +142,9 @@ export const registerForShow = (): AppThunk => async (dispatch, getState) => {
|
|||
closure: 10000
|
||||
})
|
||||
);
|
||||
if (streamer) {
|
||||
await streamer.stop();
|
||||
}
|
||||
} else {
|
||||
// let raygun handle it
|
||||
throw e;
|
||||
|
|
Loading…
Reference in a new issue