mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-11-27 02:24:43 +03:00
chore: Change error message (#209)
This commit is contained in:
parent
78d215bb63
commit
d4ebd86db5
@ -127,7 +127,7 @@ activateRelease ts deployPath release = do
|
||||
exec (Ln ts rpath tpath) (Just release) -- create a symlink for the new candidate
|
||||
exec (Mv ts tpath cpath) (Just release) -- atomically replace the symlink
|
||||
else
|
||||
failWith 1 (Just "The path to the release you want to rollback to does not exist.") (Just release)
|
||||
failWith 1 (Just $ "The release path '" <> show rpath <> "' cannot be activated.") (Just release)
|
||||
|
||||
-- | Creates the file @.hapistrano__state@ containing
|
||||
-- @fail@ or @success@ depending on how the deployment ended.
|
||||
|
Loading…
Reference in New Issue
Block a user