Skip to content

Commit

Permalink
Warn about missing scheme in the uri
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuukk authored Oct 15, 2024
1 parent a6b17a4 commit c08a272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/core/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,6 +1702,7 @@ def try_open_uri_async(
# There is no pre-existing session-buffer, so we have to go through AbstractPlugin.on_open_uri_async.
if self._plugin:
return self._open_uri_with_plugin_async(self._plugin, uri, r, flags, group)
print(f"LSP: can't open the uri at location: '{uri}', perhaps the scheme is missing?")
return None

def open_uri_async(
Expand Down

0 comments on commit c08a272

Please sign in to comment.