branch: elpa/emacsql
commit ee2877dab0097bde20e7592193cb654aa7f56c5c
Author: Christopher Wellons <[email protected]>
Commit: Christopher Wellons <[email protected]>
Clearer error message from escape identifier.
---
emacsql.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emacsql.el b/emacsql.el
index 1f5f8518f6..8c14f9f392 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -224,7 +224,7 @@ CONN-SPEC is a connection specification like the call to
(forbidden "[]-\000-\040!\"#%&'()*+,./;<=>?@[\\^`{|}~\177]"))
(when (or (string-match-p forbidden string)
(string-match-p "^[0-9$]" string))
- (error "Invalid Emacsql identifier."))
+ (error "Invalid Emacsql identifier: %S" identifier))
(if (string-match-p ":" string)
(replace-regexp-in-string ":" "." string)
string)))