Prevent CSV errors from breaking the app