mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
deploy: Leave on hard error.
Previously, the error message would be displayed, followed by a backtrace ending in &non-continuable. * guix/scripts/deploy.scm (deploy-machine*): Call 'leave' rather than 'report-error' when C is a &message.
This commit is contained in:
parent
9931d2779f
commit
1b4931555b
1 changed files with 3 additions and 3 deletions
|
@ -129,9 +129,9 @@ Perform the deployment specified by FILE.\n"))
|
||||||
(raise c))
|
(raise c))
|
||||||
|
|
||||||
((message-condition? c)
|
((message-condition? c)
|
||||||
(report-error (G_ "failed to deploy ~a: ~a~%")
|
(leave (G_ "failed to deploy ~a: ~a~%")
|
||||||
(machine-display-name machine)
|
(machine-display-name machine)
|
||||||
(condition-message c)))
|
(condition-message c)))
|
||||||
((deploy-error? c)
|
((deploy-error? c)
|
||||||
(when (deploy-error-should-roll-back c)
|
(when (deploy-error-should-roll-back c)
|
||||||
(info (G_ "rolling back ~a...~%")
|
(info (G_ "rolling back ~a...~%")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue