Skip to content

Commit 638bb96

Browse files
authored
Better error message for image pull failures (#175)
Signed-off-by: Aditya Ramani <a_ramani@apple.com>
1 parent e274a79 commit 638bb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Containerization/Image/ImageStore/ImageStore+Import.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ extension ImageStore {
9393
}
9494
return try await self.client.fetch(name: name, descriptor: descriptor)
9595
} catch {
96-
throw ContainerizationError(.internalError, message: "Cannot fetch content with digest \(descriptor.digest)")
96+
throw ContainerizationError(.internalError, message: "Cannot fetch content with digest \(descriptor.digest)", cause: error)
9797
}
9898
}
9999

0 commit comments

Comments
 (0)