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

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

[nongnu] elpa/emacsql ee2877dab0 106/427: Clearer error message from esc


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql ee2877dab0 106/427: Clearer error message from escape identifier.
Date: Tue, 13 Dec 2022 02:59:32 -0500 (EST)

branch: elpa/emacsql
commit ee2877dab0097bde20e7592193cb654aa7f56c5c
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    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)))



reply via email to

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