Skip to content

Commit

Permalink
Fix error handling bug
Browse files Browse the repository at this point in the history
Signed-off-by: MB-Finski <[email protected]>
  • Loading branch information
MB-Finski committed Jan 12, 2024
1 parent 30520b9 commit 8ecf879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Service/SpeechToText/SpeechToTextService.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public function sendSpeechToTextNotification(string $userId, string $result, boo
} catch (\OCP\Db\Exception $e) {
$this->logger->error('Failed to save transcript in DB: ' . $e->getMessage());
$success = false;
$id = 0;
}

$params = [
Expand Down

0 comments on commit 8ecf879

Please sign in to comment.