summaryrefslogtreecommitdiff
path: root/Userland/open.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-12-24 01:28:30 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-24 10:25:18 +0100
commitaf007ce126bd9076461038546293e13891435996 (patch)
treee4c012c27f5c81503c0a84c50acd5a57eee8ad83 /Userland/open.cpp
parent5bb0bd8c6dbc91342077f9d81f8ce7b9096ddd1c (diff)
downloadserenity-af007ce126bd9076461038546293e13891435996.zip
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.
Diffstat (limited to 'Userland/open.cpp')
-rw-r--r--Userland/open.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}