Skip to content

Commit

Permalink
fix callback for sendAlert
Browse files Browse the repository at this point in the history
  • Loading branch information
arcdarcd committed Jun 12, 2014
1 parent 4e533fa commit 0d6edfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var sendAlert = function (msg, callback) {

var exit = function (errMessage, err) {
console.error(errMessage, err);
sendAlert("Event queue exiting! Message: " + errMessage, function () {
sendAlert("Event queue exiting! Message: " + errMessage, function (err, res) {
console.log("slack:", err, res);
process.exit();
})
Expand Down

0 comments on commit 0d6edfc

Please sign in to comment.