mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-04-02 22:38:24 +00:00
fix: Don't log when falling back to ruby, it breaks stuff
This commit is contained in:
parent
aabe028767
commit
d1ce83a9c8
@ -354,7 +354,6 @@ module Tartrazine
|
||||
super
|
||||
rescue ex : Crystal::SyntaxException
|
||||
# Fallback to Ruby highlighting
|
||||
Log.warn { "Highlighting as Ruby, Crystal syntax highlighting failed: #{ex.message}" }
|
||||
@tokens = Tartrazine.lexer("ruby").tokenizer(text).to_a
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user