You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
observabilityScope.emit(warning:"The checksum \(checksum) from \(registry.url.absoluteString) does not match previously recorded value \(existing.value) from \(String(describing: existing.origin.url?.absoluteString))")
441
+
completion(.success(checksum))
442
+
}
435
443
case.failure(let error):
436
-
// Don't throw write errors
437
-
observabilityScope.emit(warning:"Failed to save checksum '\(checksum) from \(registry.url) to fingerprints storage: \(error)")
letmessage="Revision \(revision.identifier) for \(self.package) version \(version) does not match previously recorded value \(existing.value) from \(String(describing: existing.origin.url?.absoluteString))"
190
+
switchself.fingerprintCheckingMode {
191
+
case.strict:
192
+
throwStringError(message)
193
+
case.warn:
194
+
observabilityScope.emit(warning: message)
195
+
}
190
196
}
191
197
}catch{
192
198
self.observabilityScope.emit(error:"Failed to get source control fingerprint for \(self.package) version \(version) from storage: \(error)")
0 commit comments