mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
Print full error chain when failing to load grammar (#12744)
This commit is contained in:
parent
26db54155e
commit
1258111394
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ impl LanguageConfiguration {
|
||||||
let language = get_language(self.grammar.as_deref().unwrap_or(&self.language_id))
|
let language = get_language(self.grammar.as_deref().unwrap_or(&self.language_id))
|
||||||
.map_err(|err| {
|
.map_err(|err| {
|
||||||
log::error!(
|
log::error!(
|
||||||
"Failed to load tree-sitter parser for language {:?}: {}",
|
"Failed to load tree-sitter parser for language {:?}: {:#}",
|
||||||
self.language_id,
|
self.language_id,
|
||||||
err
|
err
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue