I think so. You can use the TRACE keyword to write custom messages to the log. If you set ErrorMode to 0 Qlikview will keep executing the rest of script if an error occurs. You can use an if statement that checks the ScriptError variable to 'catch' the error and do something. See the help file for details about Trace and ErrorMode.