Improved error handling in log query interval function.

This commit is contained in:
Benjamin Arntzen
2024-06-27 06:45:42 +01:00
committed by Benjamin Arntzen (aider)
parent d12bb429ff
commit 3fd0fe0977
+2 -3
View File
@@ -114,10 +114,9 @@ setInterval(async () => {
});
} else {
console.error('Logs is not an array:', logs);
}
} catch (error) {
console.error('Error querying logs:', error);
}
} catch (error) {
console.error('Error querying logs:', error);
}
}, 3000);