branch: elpa/hyperdrive
commit c4b88b009d705c7e789e8a30f01caa58fc2799b7
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>
Change: (h//gateway-stop-default) Use h/user-error instead of h/error
---
hyperdrive-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 4b68615e99..d3050d5bdd 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1459,7 +1459,7 @@ Default function; see variable
`h/gateway-start-function'."
"Stop the gateway subprocess."
(unless (h/gateway-live-p-default)
;; NOTE: We do not try to stop the process if we didn't start it ourselves.
- (h/error "Gateway not running as subprocess"))
+ (h/user-error "Gateway not running as subprocess"))
(interrupt-process h/gateway-process)
(with-timeout (4 (h/error "Gateway still running"))
(cl-loop while (h/gateway-live-p)