fixed exception handling

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-17 22:34:13 +02:00
parent 403e95a1bf
commit ecb1ddac0f

View File

@@ -163,6 +163,8 @@ public class Util {
is.close(); is.close();
throw new UmbrellaException(500, bos.toString(UTF_8)); throw new UmbrellaException(500, bos.toString(UTF_8));
} }
} catch (UmbrellaException e){
throw e;
} catch (Exception e) { } catch (Exception e) {
LOG.log(WARNING,"Request to {0} failed: {1}",target,e.getMessage()); LOG.log(WARNING,"Request to {0} failed: {1}",target,e.getMessage());
throw new UmbrellaException(500,"Request to {0} failed!",target).causedBy(e); throw new UmbrellaException(500,"Request to {0} failed!",target).causedBy(e);