mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-21 22:15:40 +00:00
Merge pull request #312 from Psychotoxical/chore/log-ping-failure
chore(subsonic): log pingWithCredentials failures
This commit is contained in:
+2
-1
@@ -309,7 +309,8 @@ export async function pingWithCredentials(
|
|||||||
serverVersion: typeof data?.serverVersion === 'string' ? data.serverVersion : undefined,
|
serverVersion: typeof data?.serverVersion === 'string' ? data.serverVersion : undefined,
|
||||||
openSubsonic: data?.openSubsonic === true,
|
openSubsonic: data?.openSubsonic === true,
|
||||||
};
|
};
|
||||||
} catch {
|
} catch (err) {
|
||||||
|
console.warn('[psysonic] pingWithCredentials failed:', serverUrl, err);
|
||||||
return { ok: false };
|
return { ok: false };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user