chore: Change error message (#209)

This commit is contained in:
Cristhian Motoche 2022-11-15 15:57:45 -05:00 committed by GitHub
parent 78d215bb63
commit d4ebd86db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.