Improved error messages when running dodgy apps