truncate stack
This commit is contained in:
@@ -76,6 +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()),
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user