summaryrefslogtreecommitdiffstats
path: root/psalm.xml
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2023-02-21 02:22:31 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2023-02-22 13:09:27 +0100
commit03735df98854d0b27f0462d72fd797647f8cbc6e (patch)
treecaa399e04a42d881620cf2ee71dfaccb16f19bc0 /psalm.xml
parenteca3161d246eac7e874a17ee3b747bb0129bee7b (diff)
Return error when trying to stop an unknown recording
The Nextcloud server expects a notification to be sent by the recording server once a recording is stopped. However, if the recording server does not know about certain recording the Nextcloud server did not change the recording status, and the recording was kept active (even if it was not). To solve that now the recording server returns a 404 when trying to stop an unknown recording (although not if the recording is being stopped), and in that case the Nextcloud server updates the recording status to "failed". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml
index c684a3916..18ce5618d 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -77,6 +77,7 @@
<file name="tests/stubs/oc_comments_comment.php" />
<file name="tests/stubs/oc_comments_manager.php" />
<file name="tests/stubs/oc_hooks_emitter.php" />
+ <file name="tests/stubs/GuzzleHttp_Exception_ClientException.php" />
<file name="tests/stubs/GuzzleHttp_Exception_ConnectException.php" />
<file name="tests/stubs/GuzzleHttp_Exception_ServerException.php" />
<file name="tests/stubs/Symfony_Component_EventDispatcher_GenericEvent.php" />