feat(dashboard): reuse reports filter on overview and add more operators (#31)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-05 15:55:31 +02:00
parent 7e941080dc
commit 18b3bc3018
20 changed files with 464 additions and 168 deletions

View File

@@ -43,7 +43,8 @@ export const ch = new Proxy(originalCh, {
} catch (error: unknown) {
if (
error instanceof Error &&
(error.message.includes('socket hang up') ||
(error.message.includes('Connect') ||
error.message.includes('socket hang up') ||
error.message.includes('Timeout error'))
) {
console.info(
@@ -65,8 +66,7 @@ export const ch = new Proxy(originalCh, {
}
} else {
if (args[0].query) {
console.log('FAILED QUERY:');
console.log(args[0].query);
console.log('FAILED QUERY:', args[0].query);
}
// Handle other errors or rethrow them