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.
This commit is contained in:
Linus Groh 2020-12-24 01:28:30 +01:00 committed by Andreas Kling
parent 5bb0bd8c6d
commit af007ce126

View file

@ -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;
}
}