make prints a wee bit better

This commit is contained in:
dr-frmr 2024-01-22 18:28:43 -03:00
parent d74adb3af8
commit 59a936b680
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

@ -77,10 +77,10 @@ fn init(our: Address) {
match response {
LocalResponse::DownloadResponse(DownloadResponse::Started) => {
println!("download: started downloading package {package_id} from {download_from}");
println!("started downloading package {package_id} from {download_from}");
}
LocalResponse::DownloadResponse(DownloadResponse::Failure) => {
println!("download: failed to download package {package_id} from {download_from}");
println!("failed to download package {package_id} from {download_from}");
}
}
}

View File

@ -66,10 +66,10 @@ fn init(our: Address) {
match response {
LocalResponse::InstallResponse(InstallResponse::Success) => {
println!("install: started installing package {package_id}");
println!("successfully installed package {package_id}");
}
LocalResponse::InstallResponse(InstallResponse::Failure) => {
println!("install: failed to install package {package_id}");
println!("failed to install package {package_id}");
println!("make sure that the package has been downloaded!")
}
}

View File

@ -66,10 +66,10 @@ fn init(our: Address) {
match response {
LocalResponse::UninstallResponse(UninstallResponse::Success) => {
println!("uninstall: started uninstalling package {package_id}");
println!("successfully uninstalled package {package_id}");
}
LocalResponse::UninstallResponse(UninstallResponse::Failure) => {
println!("uninstall: failed to uninstall package {package_id}");
println!("failed to uninstall package {package_id}!");
}
}
}