Feature engineering improvements #376
@@ -76,7 +76,9 @@ class SystemCrypto {
|
|||||||
process.env.DATABASE_KEY = dbKeyMatch[1];
|
process.env.DATABASE_KEY = dbKeyMatch[1];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {
|
||||||
|
// Ignore file read errors, will generate new key
|
||||||
|
}
|
||||||
|
|
||||||
await this.generateAndGuideDatabaseKey();
|
await this.generateAndGuideDatabaseKey();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -191,7 +191,8 @@ export function Tunnel({ filterHostKey }: SSHTunnelProps): React.ReactElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await fetchTunnelStatuses();
|
await fetchTunnelStatuses();
|
||||||
} catch (err) {
|
} catch {
|
||||||
|
// Ignore tunnel action errors
|
||||||
} finally {
|
} finally {
|
||||||
setTunnelActions((prev) => ({ ...prev, [tunnelName]: false }));
|
setTunnelActions((prev) => ({ ...prev, [tunnelName]: false }));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,9 @@ export function ServerConfig({
|
|||||||
setServerUrl(config.serverUrl);
|
setServerUrl(config.serverUrl);
|
||||||
setConnectionStatus("success");
|
setConnectionStatus("success");
|
||||||
}
|
}
|
||||||
} catch (error) {}
|
} catch {
|
||||||
|
// Ignore config loading errors
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleTestConnection = async () => {
|
const handleTestConnection = async () => {
|
||||||
|
|||||||
@@ -110,7 +110,9 @@ export function TerminalKeyboard({
|
|||||||
if (navigator.vibrate) {
|
if (navigator.vibrate) {
|
||||||
navigator.vibrate(20);
|
navigator.vibrate(20);
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch {
|
||||||
|
// Ignore vibration errors on unsupported devices
|
||||||
|
}
|
||||||
|
|
||||||
onSendInput(input);
|
onSendInput(input);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user