Adding debugging for body errors (#4542)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
b55ec6148c
Коммит
11de77f63f
@@ -92,6 +92,11 @@ class WebClientClass extends Client {
|
||||
if (err) {
|
||||
return error(err);
|
||||
}
|
||||
|
||||
if (!res.body) {
|
||||
console.error('Missing response body for getYoutubeVideoInfo'); // eslint-disable-line no-console
|
||||
}
|
||||
|
||||
return success(res.body);
|
||||
});
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user