Feature engineering improvements #376
@@ -118,7 +118,8 @@ export function HostManagerEditor({
|
||||
|
||||
setFolders(uniqueFolders);
|
||||
setSshConfigurations(uniqueConfigurations);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Failed to load hosts data
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
@@ -152,7 +153,8 @@ export function HostManagerEditor({
|
||||
|
||||
setFolders(uniqueFolders);
|
||||
setSshConfigurations(uniqueConfigurations);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Failed to reload hosts after credential change
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
|
||||
@@ -105,7 +105,9 @@ export function HomepageAuth({
|
||||
const clearJWTOnLoad = async () => {
|
||||
try {
|
||||
await logoutUser();
|
||||
} catch (error) {}
|
||||
} catch {
|
||||
// Ignore logout errors on initial load
|
||||
}
|
||||
};
|
||||
|
||||
clearJWTOnLoad();
|
||||
|
||||
@@ -59,7 +59,9 @@ export function useDragToSystemDesktop({
|
||||
};
|
||||
});
|
||||
}
|
||||
} catch (error) {}
|
||||
} catch {
|
||||
// IndexedDB not available or failed to retrieve directory
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
@@ -75,7 +77,9 @@ export function useDragToSystemDesktop({
|
||||
store.put({ handle: dirHandle }, "lastSaveDir");
|
||||
};
|
||||
}
|
||||
} catch (error) {}
|
||||
} catch {
|
||||
// Failed to save directory handle
|
||||
}
|
||||
};
|
||||
|
||||
const isFileSystemAPISupported = () => {
|
||||
|
||||
Reference in New Issue
Block a user