If the script_name is blank, try another method to locate what our filename is so we don't log an empty script name.
If the script_name is blank, try another method to locate what our filename is so we don't log an empty script name.