Skip to content

Commit

Permalink
Better error for cleanup rejected promise
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed May 3, 2017
1 parent 7da0644 commit 77ea34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function cleanUpWindow(win) {

if (requestPromises) {
for (let promise of requestPromises) {
promise.reject(new Error(`Window cleaned up`));
promise.reject(new Error(`No response from window - cleaned up`));
}
}

Expand Down

0 comments on commit 77ea34a

Please # to comment.