Drill 20 of 26Async & errors

Saving everything

You asked the AISave every record before reporting success. Wait for all saves and reject if any fails; no transaction rollback is promised.

1Tap the line with the bug

JavaScripteditor/save_batch.js