mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-15 08:52:59 +01:00
fix(login): warn instead of swallowing account-save errors
This commit is contained in:
@@ -37,7 +37,7 @@ export const PendingAccountSaveModal: React.FC = () => {
|
|||||||
const serverName = pending?.serverName;
|
const serverName = pending?.serverName;
|
||||||
setPending(null);
|
setPending(null);
|
||||||
saveCurrentAccount({ securityType, pinCode, serverName }).catch(
|
saveCurrentAccount({ securityType, pinCode, serverName }).catch(
|
||||||
() => {},
|
(error) => console.warn("Failed to save account:", error),
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user