소스 검색

fix(external-api/middleware): invalid toString call

The intention was to override 'this' argument of 'Error.toString'.
master
paweldomas 8 년 전
부모
커밋
dc24782a2c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      react/features/mobile/external-api/middleware.js

+ 1
- 1
react/features/mobile/external-api/middleware.js 파일 보기

@@ -83,7 +83,7 @@ function _toErrorString(
83 83
         error
84 84
             ? typeof error === 'string'
85 85
                 ? error
86
-                : Error.prototype.toString(error)
86
+                : Error.prototype.toString.apply(error)
87 87
             : '');
88 88
 }
89 89
 

Loading…
취소
저장