Skip to content

Commit b057afd

Browse files
committed
Handle MalformedURLException
1 parent 1b97b5e commit b057afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/techstreet/dfscript/script/action/ScriptActionType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public enum ScriptActionType {
139139
}
140140
ctx.task().context().setVariable(ctx.variable("Result").name(), new ScriptTextValue(result.toString()));
141141
}catch(MalformedURLException ex){
142-
142+
OverlayManager.getInstance().add("Malformed URL error!");
143143
}catch(IOException ex){
144144

145145
}

0 commit comments

Comments
 (0)