aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-14 09:25:15 -0500
committerSean Allred <code@seanallred.com>2014-11-14 09:25:15 -0500
commit378fb090ab1826a7ee09e20c1ed439be283c72d4 (patch)
treed733744ca5bb9b909e4da97940fe59e37060be81
parent76dde309a49b8959d482257b5622ef6dcf72072c (diff)
Ensure error string can print
"%s" must take a string, but what we get might not be string-y.
-rw-r--r--sx-question.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question.el b/sx-question.el
index 40adbcb..d15cc80 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -60,7 +60,7 @@
sx-question-browse-filter)))
(if (vectorp res)
(elt res 0)
- (error "Couldn't find question %s in %s" id site))))
+ (error "Couldn't find question %S in %S" id site))))
;;; Question Properties