summaryrefslogtreecommitdiff
path: root/henrietta-cache.scm
diff options
context:
space:
mode:
Diffstat (limited to 'henrietta-cache.scm')
-rw-r--r--henrietta-cache.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/henrietta-cache.scm b/henrietta-cache.scm
index 8f63bba..f12efa9 100644
--- a/henrietta-cache.scm
+++ b/henrietta-cache.scm
@@ -230,7 +230,11 @@ EOF
(define (update-egg-cache)
(when *init-file*
- (load *init-file*))
+ (handle-exceptions exn
+ (begin
+ (fprintf (current-error-port) "Error loading init file ~A:\n" *init-file*)
+ (print-error-message exn (current-error-port)))
+ (load *init-file*)))
(for-each
(lambda (egg)