Skip to content

Commit

Permalink
Return bridge promise so error is correctly handled
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Apr 21, 2017
1 parent 93b63e7 commit 4d75271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/send/strategies.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if (__IE_POPUP_SUPPORT__) {
throw new Error(`Can only use bridge to communicate between two different windows, not between frames`);
}

sendBridgeMessage(win, serializedMessage, domain);
return sendBridgeMessage(win, serializedMessage, domain);
};

SEND_MESSAGE_STRATEGIES[CONSTANTS.SEND_STRATEGIES.GLOBAL] = (win, serializedMessage, domain) => {
Expand Down

0 comments on commit 4d75271

Please # to comment.