Skip to content

Commit

Permalink
Merge pull request #9 from gjdenhertog/bugfix/6-do-not-fire-record-up…
Browse files Browse the repository at this point in the history
…dated-on-error

Prevent further execution of the code after an error
  • Loading branch information
gjdenhertog authored Nov 24, 2016
2 parents 4a0e2c3 + 863463d commit a08d488
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws-dynamodb.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@
source: 'insertRecord',
error: error
});
return;
}

this.fire('record-inserted');
Expand Down Expand Up @@ -480,6 +481,7 @@
source: 'updateRecord',
error: error
});
return;
}

this.fire('record-updated');
Expand Down

0 comments on commit a08d488

Please sign in to comment.