From dc24782a2c4f6f3b0dc590c9cb4b0af5d45493c5 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Thu, 26 Oct 2017 09:52:57 -0500 Subject: [PATCH] fix(external-api/middleware): invalid toString call The intention was to override 'this' argument of 'Error.toString'. --- react/features/mobile/external-api/middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/mobile/external-api/middleware.js b/react/features/mobile/external-api/middleware.js index 05bdc3958e..99ba76507d 100644 --- a/react/features/mobile/external-api/middleware.js +++ b/react/features/mobile/external-api/middleware.js @@ -83,7 +83,7 @@ function _toErrorString( error ? typeof error === 'string' ? error - : Error.prototype.toString(error) + : Error.prototype.toString.apply(error) : ''); }