Skip to content

Commit

Permalink
Follow-up to d9d31aa
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Dec 20, 2017
1 parent d9d31aa commit 8660bf0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion machines/begin-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
Pack.sendNativeQuery({
connection: inputs.connection,
nativeQuery: 'BEGIN'
}).exec({
}).switch({
error: function error(err) {
return exits.error(err);
},
Expand Down
2 changes: 1 addition & 1 deletion machines/commit-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = {
Pack.sendNativeQuery({
connection: inputs.connection,
nativeQuery: 'COMMIT'
}).exec({
}).switch({
error: function error(err) {
return exits.error(err);
},
Expand Down
2 changes: 1 addition & 1 deletion machines/rollback-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = {
Pack.sendNativeQuery({
connection: inputs.connection,
nativeQuery: 'ROLLBACK'
}).exec({
}).switch({
error: function error(err) {
return exits.error(err);
},
Expand Down

0 comments on commit 8660bf0

Please sign in to comment.