truncate stack
This commit is contained in:
parent
7ce4a26970
commit
493829b3ee
|
@ -76,6 +76,7 @@ function renderError(e: Error): any {
|
|||
acc[key] = e[key];
|
||||
return acc;
|
||||
}, {} as Record<string, any>),
|
||||
stack: e.stack?.split('\n').map(s => s.trim()),
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue