···1818 let uri = URI_scheme.lsp_uri_to_uri ~base: forest.config.url lsp_uri in
1919 let@ tree = Option.iter @~ forest.={uri} in
2020 match Tree.to_doc tree with
2121- | None -> assert false
2121+ | None ->
2222+ Logs.debug (fun m -> m "Did_change.compute fatal error, could not find tree with uri %a from LSP uri %s" URI.pp uri (Lsp.Uri.to_string lsp_uri));
2323+ assert false
2224 | Some doc ->
2325 let new_doc = Lsp.Text_document.apply_content_changes doc params.contentChanges in
2426 forest.={uri} <- Document new_doc;