diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/util/Result.java b/src/main/java/ch/ethz/seb/sebserver/gbl/util/Result.java index 41acee38..9d1f238d 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/util/Result.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/util/Result.java @@ -141,7 +141,7 @@ public final class Result { if (this.error instanceof RuntimeException) { throw (RuntimeException) this.error; } else { - throw new RuntimeException("RuntimeExceptionWrapper cause: ", this.error); + throw new RuntimeException("RuntimeExceptionWrapper cause: " + this.error.getMessage(), this.error); } }