Merge pull request #312 from Psychotoxical/chore/log-ping-failure

chore(subsonic): log pingWithCredentials failures
This commit is contained in:
Frank Stellmacher
2026-04-26 00:43:51 +02:00
committed by GitHub
+2 -1
View File
@@ -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 };
} }
} }