Add option to log and continue on error