Catch errors from import parsing