fix(all): Locale in Audio is dynamic.
This commit is contained in:
parent
03f94d0931
commit
2305f81b28
1 changed files with 9 additions and 9 deletions
|
@ -113,7 +113,7 @@ export class GBServer {
|
|||
process.on('uncaughtException', (err, p) => {
|
||||
if (err !== null) {
|
||||
err = err['e'] ? err['e'] : err;
|
||||
const msg = `${err['code']?err['code']:''} ${err.message?err.message:''} ${err['description']?err['description']:''}`
|
||||
const msg = `${err['code'] ? err['code'] : ''} ${err?.['response']?.['data'] ? err?.['response']?.['data']: ''} ${err.message ? err.message : ''} ${err['description'] ? err['description'] : ''}`
|
||||
GBLog.error(`UNCAUGHT_EXCEPTION: ${err.toString()} ${err['stack'] ? '\n' + err['stack'] : ''} ${msg}`);
|
||||
} else {
|
||||
GBLog.error('UNCAUGHT_EXCEPTION: Unknown error (err is null)');
|
||||
|
|
Loading…
Add table
Reference in a new issue