ScriptRunner icon indicating copy to clipboard operation
ScriptRunner copied to clipboard

Checking for for wrong log file

Open tbeardx opened this issue 7 years ago • 4 comments

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()?

tbeardx avatar Nov 29 '17 15:11 tbeardx

You're right. Submit a PR and I'll merge.

BenoitDuffez avatar Nov 29 '17 16:11 BenoitDuffez

Take the opportunity to remove the double space here: ;-)

System.err.println("Unable to access or create the  db_create error log");
                                                  ^^

BenoitDuffez avatar Nov 29 '17 16:11 BenoitDuffez

Will do. I've never done a PR, so it might take a while for me to figure out.

tbeardx avatar Nov 29 '17 17:11 tbeardx

I took the liberty to update and submit a PR. Thanks.

Blacky001 avatar Dec 06 '17 04:12 Blacky001