From 193732649835a1e133597191ef5a6e732f615707 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 23 May 2019 09:05:23 -0100 Subject: [PATCH] more logs Signed-off-by: Maxence Lange --- lib/Db/StreamRequest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Db/StreamRequest.php b/lib/Db/StreamRequest.php index a995deeb..1555c19a 100644 --- a/lib/Db/StreamRequest.php +++ b/lib/Db/StreamRequest.php @@ -133,7 +133,9 @@ class StreamRequest extends StreamRequestBuilder { $cursor->closeCursor(); if ($data === false) { - throw new StreamNotFoundException('Stream not found'); + throw new StreamNotFoundException( + 'Stream (ById) not found - ' . $id . ' (asViewer: ' . $asViewer . ')' + ); } try { @@ -166,7 +168,7 @@ class StreamRequest extends StreamRequestBuilder { $cursor->closeCursor(); if ($data === false) { - throw new StreamNotFoundException('Stream not found'); + throw new StreamNotFoundException('Stream (ByActivityId) not found - ' . $id); } return $this->parseStreamSelectSql($data);