Include exception in warning message when pid file cannot be created

Closes gh-2905
This commit is contained in:
Andy Wilkinson 2015-05-05 16:40:48 +01:00
parent b16a973d6a
commit ffcc854d42
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}