emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa-release/hyperdrive bbb9a13dff 4/6: Fix: (h/restart) Only s


From: ELPA Syncer
Subject: [nongnu] elpa-release/hyperdrive bbb9a13dff 4/6: Fix: (h/restart) Only start gateway if stop is successful
Date: Tue, 10 Sep 2024 01:00:16 -0400 (EDT)

branch: elpa-release/hyperdrive
commit bbb9a13dff873dffc38523db62331cd8fcadf99a
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Fix: (h/restart) Only start gateway if stop is successful
---
 hyperdrive.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index fca9b2ac42..b46321e061 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -143,7 +143,7 @@ which see."
   (interactive)
   (h/message "Restarting gateway...")
   (with-demoted-errors (h/stop))
-  (with-timeout (10 (h/message "Timed out waiting for gateway to stop"))
+  (with-timeout (10 (h/error "Timed out waiting for gateway to stop"))
     (cl-loop while (h/gateway-live-p)
              do (sleep-for 0.2)))
   (h/start))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]