Skip to content

Commit

Permalink
web: fix a typescript compilation error (#4902)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicks committed Aug 27, 2021
1 parent ba14b03 commit 947c410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/logfilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function createFilterTermState(input: string): FilterTerm {
regexp: parseTermInput(input),
state: TermState.Parsed,
}
} catch (error) {
} catch (error: any) {
let message = "Invalid regexp"
if (error.message) {
message += `: ${error.message}`
Expand Down

0 comments on commit 947c410

Please sign in to comment.