From 77ea34a346e5b91f8b7b2be1ecd016647b3f4c6d Mon Sep 17 00:00:00 2001 From: Daniel Brain Date: Tue, 2 May 2017 22:07:27 -0700 Subject: [PATCH] Better error for cleanup rejected promise --- src/clean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clean.js b/src/clean.js index 3449dd4d..485c2b7c 100644 --- a/src/clean.js +++ b/src/clean.js @@ -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`)); } }