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

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

[elpa] externals/dicom e2214120c8 7/8: Improve error messages


From: ELPA Syncer
Subject: [elpa] externals/dicom e2214120c8 7/8: Improve error messages
Date: Fri, 20 Dec 2024 12:58:00 -0500 (EST)

branch: externals/dicom
commit e2214120c8ac4bf8365029a3037b5dca2e428505
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Improve error messages
---
 dicom.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dicom.el b/dicom.el
index 4489232430..af631743d5 100644
--- a/dicom.el
+++ b/dicom.el
@@ -149,7 +149,7 @@
                (unless (eq 0 (call-process "dcm2xml" nil t nil
                                            "--quiet" "--charset-assume"
                                            "latin-1" "--convert-to-utf8" file))
-                 (error "dcm2xml failed"))
+                 (error "Reading DICOM metadata with dcm2xml failed"))
                (libxml-parse-xml-region)))
         (items nil))
     (dolist (item (append (and (not (string-suffix-p "DICOMDIR" file))
@@ -262,7 +262,7 @@ If REUSE is non-nil, reuse image buffer."
                      (format "(mpv --loop %s) & disown"
                              (shell-quote-argument dst))
                      nil 0))
-        (error "mpv failed")))
+        (error "Could not play video with mpv")))
      (dicom--proc
       (message "Conversion in progress…"))
      (t



reply via email to

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