branch: elpa/hyperdrive commit ee98e49ffb21a481589d83475a7ba7bb1c08e4b9 Author: Joseph Turner <jos...@ushin.org> Commit: Joseph Turner <jos...@ushin.org>
Tidy: (h/restart) Use with-demoted-errors --- hyperdrive.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hyperdrive.el b/hyperdrive.el index 386f46e202..6876cc2ac0 100644 --- a/hyperdrive.el +++ b/hyperdrive.el @@ -1586,8 +1586,7 @@ If FORCEP, don't prompt for confirmation before downloading." "Restart the gateway." (interactive) (h/message "Restarting gateway...") - (when (or (h/gateway-live-p) (h//gateway-ready-p)) - (h/stop)) + (with-demoted-errors (h/stop)) (with-timeout (5 (h/message "Timed out waiting for gateway to stop")) (cl-loop while (h/gateway-live-p) do (sleep-for 0.2)))