How to ignore errors?