Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't throw error, let callback handle it

  • Loading branch information...
commit 50a645e1bcd04ff631daf17655c740a473471eed 1 parent a690135
@razola razola authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 main.js
View
5 main.js
@@ -211,8 +211,9 @@ var AmazonSES = (function() {
call({
query: buildMessage(message)
, callback: function(err, data) {
- if (err) throw err;
- if (callback) callback(data);
+ if (callback) callback(err, data);
+ //if (err) throw err;
+ //if (callback) callback(data);
}
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.