fix(token): allow to get and store token in local config

This commit is contained in:
grimhilt
2024-02-21 16:50:54 +01:00
parent a5c5f4a713
commit 69614b0c9f
4 changed files with 32 additions and 16 deletions

View File

@@ -32,11 +32,11 @@ impl PushChange for New {
match res {
Err(ApiError::IncorrectRequest(err)) => {
eprintln!("fatal: error pushing file {}: {}", obj.name, err.status());
eprintln!("fatal: error pushing file '{}': {}", obj.name, err.status());
std::process::exit(1);
},
Err(ApiError::RequestError(_)) => {
eprintln!("fatal: request error pushing file {}", obj.name);
eprintln!("fatal: request error pushing file '{}'", obj.name);
std::process::exit(1);
}
_ => (),