Include underlying exceptions when logging failures to write exit files
This commit is contained in:
parent
5c31ef43c9
commit
ed0a723fef
|
@ -39,7 +39,7 @@ public class CommandStopListener implements Managed {
|
||||||
writer.write("stopped");
|
writer.write("stopped");
|
||||||
}
|
}
|
||||||
} catch (final IOException e) {
|
} catch (final IOException e) {
|
||||||
logger.error("Failed to open file {}", path);
|
logger.error("Failed to open file {}", path, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue