fix(logs): handle unexpected log messages (#2303)

* fix(logs): handle unexpected log messages

* fix(logs): update regexp for json to appease the lgtm gods
This commit is contained in:
Danshil Kokil Mungur
2021-12-08 04:20:47 +04:00
committed by GitHub
parent febf0677b8
commit f284e4ab97
3 changed files with 21 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import type { PaginatedResponse } from './common';
export type LogMessage = {
timestamp: string;
level: string;
label: string;
label?: string;
message: string;
data?: Record<string, unknown>;
};