aboutsummaryrefslogtreecommitdiff
path: root/src/skribilo.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/skribilo.in')
-rwxr-xr-x[-rw-r--r--]src/skribilo.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skribilo.in b/src/skribilo.in
index 5508e10..4b77c5e 100644..100755
--- a/src/skribilo.in
+++ b/src/skribilo.in
@@ -3,5 +3,5 @@
main='(module-ref (resolve-module '\''(skribilo)) '\'main')'
exec ${GUILE-@GUILE@} --debug \
- -c "(apply $main (cdr (command-line)))" "$@"
+ -c "(catch #t (lambda () (apply $main (cdr (command-line)))) (lambda (key . args) (format (current-error-port) \"exception \`~a' raised~%\" key) (exit 1)))" "$@"