improve queries with limit

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-24 00:19:09 +02:00
parent 65c464a63c
commit 8025859b6d
2 changed files with 18 additions and 0 deletions

View File

@@ -56,6 +56,11 @@ export const ch = new Proxy(originalCh, {
throw retryError; // Rethrow or handle as needed
}
} else {
if (args[0].query) {
console.log('FAILED QUERY:');
console.log(args[0].query);
}
// Handle other errors or rethrow them
throw error;
}