Browse Source

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

The intention was to override 'this' argument of 'Error.toString'.
j8
paweldomas 8 years ago
parent
commit
dc24782a2c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/mobile/external-api/middleware.js

+ 1
- 1
react/features/mobile/external-api/middleware.js View File

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

Loading…
Cancel
Save