diff options
author | colin <colin@cicadas.surf> | 2024-03-03 11:14:16 -0800 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2024-03-03 11:14:16 -0800 |
commit | 95909f31b7d5f15d86bf70e9df49ae2f41da5b71 (patch) | |
tree | 892acef34275be602d4c3753576ef7bf70556e0d | |
parent | a243ceab6cd3d17fffb115a253e28a21f2ebe3c6 (diff) |
handle errors in case emacs / xvfb-run fails
-rw-r--r-- | fussy.lisp | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -166,9 +166,12 @@ differs from the theme-pkg instance already in the data store." (if (uiop:directory-exists-p emacs-dir) (fussy-log "Directory NOT DELETE!?") (fussy-log "Directory successfully deleted")))) - - (generate-images-for-packages - (mapcar #'archive-theme-name themes-to-update)) + (handler-case + (generate-images-for-packages + (mapcar #'archive-theme-name themes-to-update)) + (error (e) + (fussy-log "Error while generating images: ~s" + e))) ;; if we didn't error: update the db (dolist (archive-theme themes-to-update) |