summaryrefslogtreecommitdiff
path: root/Userland/Utilities/paste.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/paste.cpp')
-rw-r--r--Userland/Utilities/paste.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/paste.cpp b/Userland/Utilities/paste.cpp
index 4083ef0207..20e9db0b2d 100644
--- a/Userland/Utilities/paste.cpp
+++ b/Userland/Utilities/paste.cpp
@@ -62,7 +62,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
args_parser.add_positional_argument(watch_command, "Command to run in watch mode", "command", Core::ArgsParser::Required::No);
args_parser.parse(arguments);
- auto app = GUI::Application::construct(arguments);
+ auto app = TRY(GUI::Application::try_create(arguments));
auto& clipboard = GUI::Clipboard::the();