Skip to content

Commit

Permalink
SecAttributeModifier - fix error when missing uuid
Browse files Browse the repository at this point in the history
- Ref #13
  • Loading branch information
ShaneBeee committed Nov 25, 2024
1 parent dbb9492 commit ac0383f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public boolean init(Expression<?>[] exprs, int matchedPattern, Kleenean isDelaye
UUID uuid;
try {
uuid = UUID.fromString(uuidString);
} catch (IllegalArgumentException ignore) {
} catch (IllegalArgumentException | NullPointerException ignore) {
uuid = UUID.randomUUID();
}
if (name == null) return super.walk(event, false);
Expand Down

0 comments on commit ac0383f

Please sign in to comment.