Commit ffcc854d authored by Andy Wilkinson's avatar Andy Wilkinson

Include exception in warning message when pid file cannot be created

Closes gh-2905
parent b16a973d
......@@ -108,7 +108,7 @@ public class ApplicationPidFileWriter implements
writePidFile(event);
}
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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment