You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constMISMATCH:&str = "Could not start the server because metadata file found in staging directory does not match one in the storage";
122
113
let res = match check {
123
114
EnvChange::None(metadata) => {
124
115
// overwrite staging anyways so that it matches remote in case of any divergence
125
116
overwrite_staging = true;
126
117
Ok(metadata)
127
-
}
128
-
EnvChange::DeploymentMismatch => Err(MISMATCH),
118
+
},
129
119
EnvChange::NewRemote => {
130
-
Err("Could not start the server because metadata not found in storage")
120
+
Err("Could not start the server because staging directory indicates stale data from previous deployment, please choose an empty staging directory and restart the server")
0 commit comments