Fix exception in TransformationHelper (#3627)
Signed-off-by: Jan N. Klug <github@klug.nrw>pull/3629/head
parent
a12d64d4a3
commit
8e81bebd3a
|
@ -125,6 +125,8 @@ public class TransformationHelper {
|
|||
return service.transform(function, value);
|
||||
} catch (IllegalFormatException e) {
|
||||
throw new TransformationException("Cannot format state '" + state + "' to format '" + format + "'", e);
|
||||
} catch (RuntimeException e) {
|
||||
throw new TransformationException("Transformation service threw an exception: " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue