Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/539/head
Maxence Lange 2019-05-23 09:05:23 -01:00
rodzic 99c9626783
commit 1937326498
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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);