Skip to content

Commit 5efe3f3

Browse files
committed
Fix custom collections url, improve error logging
1 parent 2878b97 commit 5efe3f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/App/Commands/Reconcile.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct ReconcileCommand: AsyncCommand {
3131
try await reconcile(client: context.application.client,
3232
database: context.application.db)
3333
} catch {
34-
Current.logger().error("\(error.localizedDescription)")
34+
Current.logger().error("\(error)")
3535
}
3636

3737
Current.logger().info("done.")
@@ -40,7 +40,7 @@ struct ReconcileCommand: AsyncCommand {
4040
try await AppMetrics.push(client: context.application.client,
4141
jobName: "reconcile")
4242
} catch {
43-
Current.logger().warning("\(error.localizedDescription)")
43+
Current.logger().warning("\(error)")
4444
}
4545
}
4646
}

Sources/App/Core/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum Constants {
2626

2727
static let packageListUri = URI(string: "https://raw.githubusercontent.com/SwiftPackageIndex/PackageList/main/packages.json")
2828
static let packageDenyListUri = URI(string: "https://raw.githubusercontent.com/SwiftPackageIndex/PackageList/main/denylist.json")
29-
static let customCollectionsUri = URI(string: "https://raw.githubusercontent.com/SwiftPackageIndex/PackageList/main/custom-package-collections.json.json")
29+
static let customCollectionsUri = URI(string: "https://raw.githubusercontent.com/SwiftPackageIndex/PackageList/main/custom-package-collections.json")
3030

3131
static let maxCustomPackageCollectionSize = 50
3232

0 commit comments

Comments
 (0)