tinyhumansai/openhuman · error
[app-update] hook.check: failed
Error message
[app-update] hook.check: failed
What it means
Failure of the manual update check in useAppUpdate.hook.check: the checkAppUpdate Tauri invoke rejected (network failure, updater plugin not initialized, or a malformed release feed). The catch normalizes the error to a message, sets the error state and phase so the UI shows a retry affordance instead of a stuck 'checking' spinner.
Source
Thrown at app/src/hooks/useAppUpdate.ts:190
setError(null);
try {
const result = await checkAppUpdate();
if (!mountedRef.current) return result;
if (result?.available) {
console.info(
`[app-update] hook.check: update available ${result.current_version} -> ${result.available_version}`
);
setInfo(result);
setPhase('available');
} else {
console.debug('[app-update] hook.check: up to date');
setInfo(result);
setPhase('up_to_date');
}
return result;
} catch (err) {
const message = err instanceof Error ? err.message : String(err);
console.warn('[app-update] hook.check: failed', message);
if (mountedRef.current) {
setError(message);
setPhase('error');
}
return null;
}
}, []);
/** Download bytes in the background. Normally fires automatically. */
const download = useCallback(async (): Promise<void> => {
if (!isTauri()) {
console.debug('[app-update] hook.download: skipped — not running in Tauri');
return;
}
if (downloadInFlightRef.current) {
console.debug('[app-update] hook.download: already in flight');
return;
}View on GitHub (pinned to 7491200858)
Solutions
- Retry via the UI's error-state action — transient network failures are the common cause
- Verify the updater endpoint configuration (latest.json URL) is reachable
- Check that the tauri-plugin-updater is registered in the shell build
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at app/src/hooks/useAppUpdate.ts:190 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/3bf299a22ec5cb55.
Report an issue: GitHub.