Search is broken with unknow types. See #1881

This commit is contained in:
Amir Raminfar
2022-09-15 11:16:21 -07:00
parent 492706367b
commit c1dd3c1131

View File

@@ -34,7 +34,7 @@ export function useSearchFilter() {
} else if (d instanceof ComplexLogEntry) {
return matchRecord(d.message, regex.value);
}
throw new Error("Unknown message type");
return false;
});
} catch (e) {
if (e instanceof SyntaxError) {