mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Be specific when encountering an error in a recipe file
This commit is contained in:
parent
88ed6db7b5
commit
6e6412cbf6
1 changed files with 3 additions and 1 deletions
|
@ -694,7 +694,9 @@ of the same-named package which is to be kept."
|
|||
"Return a list of data structures for all recipes in `package-build-recipes-dir'."
|
||||
(cl-loop for file-name in (directory-files package-build-recipes-dir t "^[^.]")
|
||||
for pkg-info = (condition-case err (pb/read-recipe file-name)
|
||||
(error (pb/message (error-message-string err))
|
||||
(error (pb/message "Error reading recipe %s: %s"
|
||||
file-name
|
||||
(error-message-string err))
|
||||
nil))
|
||||
when pkg-info
|
||||
collect pkg-info))
|
||||
|
|
Loading…
Reference in a new issue