Log the script compile error.