aboutsummaryrefslogtreecommitdiff
path: root/sx-method.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-method.el')
-rw-r--r--sx-method.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-method.el b/sx-method.el
index 4575b0f..1078014 100644
--- a/sx-method.el
+++ b/sx-method.el
@@ -90,7 +90,7 @@ Return the entire response as a complex alist."
(cond
;; 1. Need auth and warn user (interactive use)
((and method-auth (equal 'warn auth))
- (user-error
+ (sx-user-error
"This request requires authentication. Please run `M-x sx-authenticate' and try again."))
;; 2. Need auth to populate UI, cannot provide subset
((and method-auth auth)