File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Sources/SwiftDriver/IncrementalCompilation Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ extension ModuleDependencyGraph {
675
675
bytes: data,
676
676
atomically: true )
677
677
} catch {
678
- info. diagnosticEngine. emit ( . error_could_not_write_dep_graph ( to: path) )
678
+ info. diagnosticEngine. emit ( . warning_could_not_write_dep_graph ( to: path, error : error ) )
679
679
}
680
680
}
681
681
@@ -1035,10 +1035,11 @@ fileprivate extension DependencyKey.Designator {
1035
1035
}
1036
1036
1037
1037
extension Diagnostic . Message {
1038
- fileprivate static func error_could_not_write_dep_graph(
1039
- to path: VirtualPath
1038
+ fileprivate static func warning_could_not_write_dep_graph(
1039
+ to path: VirtualPath ,
1040
+ error: Error
1040
1041
) -> Diagnostic . Message {
1041
- . error ( " could not write driver dependency graph to \( path) " )
1042
+ . warning ( " could not write driver dependency graph to \( path) , \( error . localizedDescription ) " )
1042
1043
}
1043
1044
}
1044
1045
You can’t perform that action at this time.
0 commit comments