services: clean up functions and improve readability
This commit is contained in:
@@ -57,7 +57,7 @@ export default async function(o) {
|
||||
|
||||
try {
|
||||
info = await yt.getBasicInfo(o.id, 'WEB');
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return { error: 'ErrorCantConnectToServiceAPI' };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user