Skip to content

Commit

Permalink
Issue #4903 - cleanup catch statement from review
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <[email protected]>
  • Loading branch information
lachlan-roberts committed May 26, 2020
1 parent 5c63b0e commit a11c7f5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,12 @@ else if (Endpoint.class.isAssignableFrom(endpoint))

return metadata;
}
catch (DeploymentException e)
{
throw e;
}
catch (Throwable t)
{
if (t instanceof DeploymentException)
throw t;
throw new DeploymentException(t.getMessage(), t);
}
}
Expand Down

0 comments on commit a11c7f5

Please sign in to comment.