mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(external-api/middleware): invalid toString call
The intention was to override 'this' argument of 'Error.toString'.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
2d9ce2486e
commit
dc24782a2c
@@ -83,7 +83,7 @@ function _toErrorString(
|
||||
error
|
||||
? typeof error === 'string'
|
||||
? error
|
||||
: Error.prototype.toString(error)
|
||||
: Error.prototype.toString.apply(error)
|
||||
: '');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user