Skip to content

Commit

Permalink
Fixed compiler error on js backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed May 17, 2024
1 parent 65769f0 commit e8915b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text/text_editor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,7 @@ proc setSearchQuery*(self: TextDocumentEditor, query: string, escapeRegex: bool
self.searchResultsDirty = true
self.searchQuery = query

except RegexError:
except:
discard
# todo: can't log here because the auto generated popCurrentException() raises
# because currException is nil at the end of this scope when we add some code here
Expand Down

0 comments on commit e8915b0

Please sign in to comment.