summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-20 13:58:46 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-20 13:58:46 +0200
commitb79dfcceb45669cac3cfae0be0b2146c725d7a7a (patch)
tree8979a3a80af1b12dec24d7a4c68fd9ba706ae09b /src/main.cpp
parent7713daa86adf7980fd73cae40203ab6deb6be8b8 (diff)
compositor: fix missed raw throws
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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 = "";