From b79dfcceb45669cac3cfae0be0b2146c725d7a7a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 20 Aug 2023 13:58:46 +0200 Subject: compositor: fix missed raw throws --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index fbd3da47..35080439 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -22,7 +22,7 @@ void help() { int main(int argc, char** argv) { if (!getenv("XDG_RUNTIME_DIR")) - throw std::runtime_error("XDG_RUNTIME_DIR is not set!"); + throwError("XDG_RUNTIME_DIR is not set!"); // export HYPRLAND_CMD std::string cmd = ""; -- cgit v1.2.3