From af007ce126bd9076461038546293e13891435996 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 24 Dec 2020 01:28:30 +0100 Subject: [PATCH] open: Mention full URL in 'Failed to open' error message Just showing the URL's path is confusing, that would show '/' for something like foo://bar. --- Userland/open.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/open.cpp b/Userland/open.cpp index 99c2a7e584..c141eb817f 100644 --- a/Userland/open.cpp +++ b/Userland/open.cpp @@ -59,7 +59,7 @@ int main(int argc, char* argv[]) } if (!Desktop::Launcher::open(url)) { - warnln("Failed to open '{}'", url.path()); + warnln("Failed to open '{}'", url); all_ok = false; } }