mirror of
https://github.com/apple/container.git
synced 2026-09-20 22:55:40 +00:00
Better error message for image pull failures (#175)
Signed-off-by: Aditya Ramani <a_ramani@apple.com>
This commit is contained in:
@@ -93,7 +93,7 @@ extension ImageStore {
|
||||
}
|
||||
return try await self.client.fetch(name: name, descriptor: descriptor)
|
||||
} catch {
|
||||
throw ContainerizationError(.internalError, message: "Cannot fetch content with digest \(descriptor.digest)")
|
||||
throw ContainerizationError(.internalError, message: "Cannot fetch content with digest \(descriptor.digest)", cause: error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user