1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00

better pull errors

This commit is contained in:
Robin Appelman 2022-01-24 17:11:47 +01:00
commit 0869c89eec
2 changed files with 7 additions and 3 deletions

View file

@ -175,7 +175,9 @@ impl Database {
if matches!(self, Database::Sqlite) {
return Ok(None);
}
pull_image(docker, self.image()).await?;
pull_image(docker, self.image())
.await
.wrap_err("Failed to pull database image")?;
let options = Some(CreateContainerOptions {
name: format!("{}-db", cloud_id),
});