Catch JNA native lib errors
This commit is contained in:
parent
cf49146905
commit
4e606bd1d7
@ -92,7 +92,7 @@ class RenameAction extends AbstractAction {
|
|||||||
}
|
}
|
||||||
} catch (CancellationException e) {
|
} catch (CancellationException e) {
|
||||||
debug.finest(e::toString);
|
debug.finest(e::toString);
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
log.log(Level.SEVERE, String.format("%s: %s", getRootCause(e).getClass().getSimpleName(), getRootCauseMessage(e)), e);
|
log.log(Level.SEVERE, String.format("%s: %s", getRootCause(e).getClass().getSimpleName(), getRootCauseMessage(e)), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user