just testing the environment
Some checks failed
Tests / test (push) Has been cancelled

This commit is contained in:
tom.hempel
2026-05-20 07:10:08 +02:00
parent 2a11dfd0d1
commit 06fc134299
56 changed files with 1890 additions and 361 deletions

View File

@ -53,6 +53,8 @@ case 'GET':
'supervisors' => $supervisors,
'callerRole' => $callerRole,
]);
} catch (QdbHttpResponse $e) {
throw $e;
} catch (Throwable $e) {
if (isset($tmpDb, $lockFp)) qdb_discard($tmpDb, $lockFp);
error_log($e->getMessage());
@ -161,6 +163,8 @@ case 'POST':
'mustChangePassword' => $mustChange,
'createdAt' => $now,
]);
} catch (QdbHttpResponse $e) {
throw $e;
} catch (Throwable $e) {
if (isset($pdo) && $pdo->inTransaction()) $pdo->rollBack();
if (isset($tmpDb, $lockFp)) qdb_discard($tmpDb, $lockFp);
@ -222,6 +226,8 @@ case 'DELETE':
qdb_save($tmpDb, $lockFp);
json_success([]);
} catch (QdbHttpResponse $e) {
throw $e;
} catch (Throwable $e) {
if (isset($pdo) && $pdo->inTransaction()) $pdo->rollBack();
if (isset($tmpDb, $lockFp)) qdb_discard($tmpDb, $lockFp);