Async errors swallowed in forEach

Code reviewMedium15 min

Your task

Review this JavaScript code that persists each parsed row and is supposed to fail the import if any row fails.