diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-23 14:33:35 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-23 16:55:50 -0700 |
commit | 2aabb645f3be33be0aab96ba234a43178f1da865 (patch) | |
tree | b3de2a250cd775abf58282ff55dde87429c7d8ae /src/data.lisp | |
parent | 1cecafcc3b4a25f56af4b5274cc88913de8779c8 (diff) | |
download | consfigurator-2aabb645f3be33be0aab96ba234a43178f1da865.tar.gz |
ensure we fail if COMPILE-FILE* fails
Possibly the load might succeed but the compilation fail, and the user should
be informed.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/data.lisp')
-rw-r--r-- | src/data.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data.lisp b/src/data.lisp index de54665..47b4503 100644 --- a/src/data.lisp +++ b/src/data.lisp @@ -606,7 +606,8 @@ UPLOAD-ALL-PREREQUISITE-DATA.") ;; such as Consfigurator, and switch the order of ;; the LOAD and COMPILE-FILE* here for those. (progn (load ,source) - (compile-file* ,source) + (or (compile-file* ,source) + (error "Failed to compile ~S" ,source)) (setq recompile t))))))))))) (defgeneric continue-deploy*-program (remaining-connections asdf-requirements) |