summaryrefslogtreecommitdiffstats
path: root/lib/Db
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-07-27 20:02:09 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-07-27 20:02:09 -0100
commit7862780eaf299937a29bfe2aef58f0d592a60775 (patch)
treef681f7663fad7df064d032f7e866b2b2360e550a /lib/Db
parentb91f94b32e76d7f1007f3e47d66b1ac06cde6a91 (diff)
details on fail
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db')
-rw-r--r--lib/Db/StreamRequest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Db/StreamRequest.php b/lib/Db/StreamRequest.php
index 0a50c1a3..8591eeaf 100644
--- a/lib/Db/StreamRequest.php
+++ b/lib/Db/StreamRequest.php
@@ -254,9 +254,7 @@ class StreamRequest extends StreamRequestBuilder {
} catch (ItemUnknownException $e) {
throw new StreamNotFoundException('Malformed Stream');
} catch (StreamNotFoundException $e) {
- throw new StreamNotFoundException(
- 'Stream (ById) not found - ' . $id . ' (asViewer: ' . $asViewer . ')'
- );
+ throw new StreamNotFoundException('Stream not found');
}
}