feat(admin): add production error center and refresh CMS dependencies
This commit is contained in:
1 parent
c6b919c01d
commit
816e3875c2
47 files changed
+1545
-547
No files matched your search
@@ -38,8 +38,11 @@ export function logServerError(
|
||||
event: string,
|
||||
error: unknown,
|
||||
context: LogContext = {},
|
||||
): void {
|
||||
logger.error(JSON.stringify(serverErrorRecord(event, error, context)));
|
||||
): string {
|
||||
return logger.error(event, {
|
||||
...serverErrorRecord(event, error, context).context,
|
||||
err: error,
|
||||
});
|
||||
}
|
||||
|
||||
function logScalar(value: unknown): LogScalar {
|
||||
|
||||
Reference in new issue
Block a user