Skip to content

Commit

Permalink
TMP: re-throw caught exception to reveal more information in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrozsival committed Jul 1, 2022
1 parent ff09605 commit 039d051
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ public async Task ServerAsyncAuthenticate_MismatchProtocols_Fails(
expectedToFail: true);
});

// TODO remove this temporary re-throw
if (e is not AuthenticationException)
throw e;

Assert.NotNull(e);
Assert.IsAssignableFrom(expectedException, e);
}
Expand Down

0 comments on commit 039d051

Please sign in to comment.