Skip to content

Commit

Permalink
Do not wrap EdalException with another EdalException
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed Mar 19, 2024
1 parent 38a765b commit e848831
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private ThreddsWmsCatalogue acquireCatalogue(HttpServletRequest httpServletReque
throw new IOException(e);
} catch (UncheckedExecutionException e) {
if (e.getCause() instanceof EdalException) {
throw new EdalException("", e.getCause());
throw (EdalException) e.getCause();
} else {
throw e;
}
Expand Down

0 comments on commit e848831

Please sign in to comment.