trimはやめる
This commit is contained in:
parent
493829b3ee
commit
b42577e3ad
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ function renderError(e: Error): any {
|
||||||
acc[key] = e[key];
|
acc[key] = e[key];
|
||||||
return acc;
|
return acc;
|
||||||
}, {} as Record<string, any>),
|
}, {} as Record<string, any>),
|
||||||
stack: e.stack?.split('\n').map(s => s.trim()),
|
stack: e.stack?.split('\n'),
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue