Display a script error message when a script error occurs.