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:
parent
d67ad60339
commit
0869c89eec
2 changed files with 7 additions and 3 deletions
|
|
@ -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),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue