Include exception in warning message when pid file cannot be created
Closes gh-2905
This commit is contained in:
parent
b16a973d6a
commit
ffcc854d42
|
@ -108,7 +108,7 @@ public class ApplicationPidFileWriter implements
|
||||||
writePidFile(event);
|
writePidFile(event);
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
logger.warn(String.format("Cannot create pid file %s", this.file));
|
logger.warn(String.format("Cannot create pid file %s", this.file), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue