> @@ -51,8 +52,9 @@ public String evaluate(Object obj, String expression) {
> try {
> scriptEngine.put(getType(), obj);
> result = String.valueOf(scriptEngine.eval(expression));
> - } catch (Exception ex) {
> - //Ignore
> + } catch (Exception exception) {
> + result = format("Unable to evaluate expression %s due to: %s. Please
> check your shell confugration",
@nacx Suggestions for different messages welcome ;-)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/79/files/5e0fcbef105bdb8bed0461519fb7b0d2671beed3#r78297013