1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

debug may not have been initialized and cause an NPE

This commit is contained in:
Reinhard Pointner 2016-05-16 23:10:54 +08:00
parent 8e082f4a28
commit 0131bd0af5

View File

@ -32,7 +32,7 @@ public class SystemProperty<T> {
try {
return valueFunction.apply(prop);
} catch (Exception e) {
debug.logp(Level.WARNING, SystemProperty.class.getName(), key, e.toString());
log.logp(Level.WARNING, "SystemProperty", key, e.toString());
}
}