mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update exception logging when connecting
This commit is contained in:
parent
df1f111320
commit
59c4f41ae9
1 changed files with 5 additions and 3 deletions
|
@ -57,10 +57,12 @@ export async function serverAddress() {
|
|||
}
|
||||
|
||||
return {
|
||||
url: url,
|
||||
url,
|
||||
config: await resp.json()
|
||||
};
|
||||
}).catch(() => { /* swallow errors */ });
|
||||
}).catch(error => {
|
||||
console.error(error);
|
||||
});
|
||||
});
|
||||
|
||||
return Promise.all(promises).then(responses => {
|
||||
|
@ -69,7 +71,7 @@ export async function serverAddress() {
|
|||
const selection = configs.find(obj => !obj.config.StartupWizardCompleted) || configs[0];
|
||||
return selection?.url;
|
||||
}).catch(error => {
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue