Skip to content

Commit 3e14357

Browse files
committed
lower the logger level for non-existing VM option
1 parent 644cfe3 commit 3e14357

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

visualvm/jmx/src/org/graalvm/visualvm/jmx/impl/JmxSupport.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,12 @@ String getFlagValue(String name) {
351351
}
352352
}
353353
return null;
354+
} catch (IllegalArgumentException ex) {
355+
// non-existing VM option
356+
LOGGER.log(Level.FINE, "getFlagValue", ex); // NOI18N
357+
return null;
354358
} catch (Exception ex) {
355-
LOGGER.log(Level.INFO,"getFlagValue", ex); // NOI18N
359+
LOGGER.log(Level.INFO, "getFlagValue", ex); // NOI18N
356360
return null;
357361
}
358362
}

0 commit comments

Comments
 (0)