aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notification-matrix.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-08 17:53:48 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 20:37:57 +0100
commitc2dc8a0837cd848512a8587f406f9dadd31b957c (patch)
treed1a597ddde7674e81b15ba72afbab863656cf014 /mod/notification-matrix.rsc
parent525e4325daadb94757c8632c1c07391d986c9e0e (diff)
mod/notification-matrix: do not exit with error
Diffstat (limited to 'mod/notification-matrix.rsc')
-rw-r--r--mod/notification-matrix.rsc10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/notification-matrix.rsc b/mod/notification-matrix.rsc
index c4fe100..aa95841 100644
--- a/mod/notification-matrix.rsc
+++ b/mod/notification-matrix.rsc
@@ -198,7 +198,7 @@
$LogPrint debug $0 ("Home server is: " . $MatrixHomeServer);
} on-error={
$LogPrint error $0 ("Failed getting home server!");
- :error false;
+ :return false;
}
:if ([ :pick $MatrixHomeServer 0 8 ] = "https://") do={
@@ -213,7 +213,7 @@
$LogPrint debug $0 ("Access token is: " . $MatrixAccessToken);
} on-error={
$LogPrint error $0 ("Failed logging in (and getting access token)!");
- :error false;
+ :return false;
}
:do {
@@ -223,7 +223,7 @@
$LogPrint info $0 ("Appended configuration to global-config-overlay. Now create and join a room, please!");
} on-error={
$LogPrint error $0 ("Failed appending configuration to global-config-overlay!");
- :error false;
+ :return false;
}
}
@@ -246,7 +246,7 @@
$LogPrint debug $0 ("Joined the room.");
} on-error={
$LogPrint error $0 ("Failed joining the room!");
- :error false;
+ :return false;
}
:do {
@@ -255,6 +255,6 @@
$LogPrint info $0 ("Appended configuration to global-config-overlay. Please review and cleanup!");
} on-error={
$LogPrint error $0 ("Failed appending configuration to global-config-overlay!");
- :error false;
+ :return false;
}
}