Skip to content

Commit a5f7859

Browse files
authored
[Collections] Improve error message when package collection download times out (#3438)
Update error message to cover the case when collection is not available (e.g., due to network problems) rdar://77031755
1 parent 72de2f5 commit a5f7859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Commands/SwiftPackageCollectionsTool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ public struct SwiftPackageCollectionsTool: ParsableCommand {
327327
""")
328328
}
329329
} catch {
330-
print("Failed to get metadata. The given URL neither belongs to a valid collection nor a package in an imported collection.")
330+
print("Failed to get metadata. The given URL either belongs to a collection that is invalid or unavailable, or a package that is not found in any of the imported collections.")
331331
}
332332
}
333333
}

0 commit comments

Comments
 (0)