ScriptRunner
ScriptRunner copied to clipboard
Checking for for wrong log file
On line 75: if (logFile.exists()) {
you're check if the log file exists a 2nd time. Shouldn't you be checking if errorLogFile.exists()
?
You're right. Submit a PR and I'll merge.
Take the opportunity to remove the double space here: ;-)
System.err.println("Unable to access or create the db_create error log");
^^
Will do. I've never done a PR, so it might take a while for me to figure out.
I took the liberty to update and submit a PR. Thanks.