Commit 2b10de2a authored by Johannes Schriewer's avatar Johannes Schriewer

Bugfix: Package parser failed when a external dependency could not be loaded

parent a846230a
Subproject commit a8bd369a2a16331ed8c060fbaea9b6b51dbee154
Subproject commit 79d1549a9868328c755d6c5ddb346592091d0a44
......@@ -249,8 +249,8 @@ final public class Package {
let remotePackage = try Package(filepath: pathOnDisk + importFileString, overlay: requestedGlobalOverlays, focusOnTask: nil)
remotePackage.adjustedImportPath = adjustedImportPath
remotePackages.append(remotePackage)
} catch PackageError.ParserFailed {
print("Unsatisfied external dependency: \(externalDep.name), run atpm fetch")
} catch {
print("Unsatisfied external dependency: \(externalDep.name) (Error: \(error)), run atpm fetch")
}
} else {
fatalError("Could not parse external dependency declaration for \(url)")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment