Skip to content

Commit

Permalink
Add catch to vm script's Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Jun 26, 2018
1 parent 8d1e64f commit 73cd594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-integrations/server/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function executeIntegrationRest() {
reject(e);
}
}).run();
});
}).catch((error) => console.error(error));
`, sandbox, {
timeout: 3000
})).wait();
Expand Down

0 comments on commit 73cd594

Please sign in to comment.