error handling
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
((_ command b1 ...)
|
((_ command b1 ...)
|
||||||
((hash-ref git-commands 'command
|
((hash-ref git-commands 'command
|
||||||
(λ ()
|
(λ ()
|
||||||
(error "Not supported git command '~a" 'command)))
|
(error "Not a supported or recognized git command: " 'command)))
|
||||||
(list b1 ...)))
|
(list b1 ...)))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
|
|
||||||
|
|
||||||
(define (std-process-git-result cmd result output out)
|
(define (std-process-git-result cmd result output out)
|
||||||
|
(displayln output)
|
||||||
(git-displ out)
|
(git-displ out)
|
||||||
(if result
|
(if result
|
||||||
result
|
result
|
||||||
|
|||||||
Reference in New Issue
Block a user