Skip to content

Commit

Permalink
improve prev commit #1685 edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Jul 19, 2021
1 parent 603ef9b commit aca8cbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ private Object recurseAndAttach(String name, Object o, Set<Object> seen) {
return attachSource(jf.source);
} catch (Exception e) {
logger.warn("[*** attach ***] ignoring js-function: '{}' - {}", name, e.getMessage());
return null;
return Value.asValue(null); // make sure we return a "dirty" value to force an update
}
} else if (o instanceof List) {
if (seen.add(o)) {
Expand Down

0 comments on commit aca8cbc

Please sign in to comment.