mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-01 05:32:56 +03:00
make prints a wee bit better
This commit is contained in:
parent
d74adb3af8
commit
59a936b680
@ -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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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!")
|
||||
}
|
||||
}
|
||||
|
@ -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}!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user