Skip to content

Commit ed28b09

Browse files
committed
Give a generic failure message
1 parent 586246c commit ed28b09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/make-pkgconfig.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func makeFile() throws {
107107
do {
108108
try makeFile()
109109
} catch {
110-
// print("error: \(error)")
110+
// FIXME: Printing the thrown error that here crashes on Linux.
111+
print("Unexpected error occured while writing the config file. Check permissions and try again.")
111112
exit(-1)
112113
}

0 commit comments

Comments
 (0)