mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 04:50:24 +00:00
Improve error output.
Partial #592 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
65218eff74
commit
fcf8ba29f6
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ extension Mas {
|
|||
}
|
||||
|
||||
guard let appID else {
|
||||
fatalError()
|
||||
fatalError("app ID returned from Apple is null")
|
||||
}
|
||||
|
||||
try install(appID: appID, appLibrary: appLibrary)
|
||||
|
|
|
@ -61,7 +61,7 @@ extension Mas {
|
|||
|
||||
if kill.terminationStatus != 0, debug {
|
||||
let output = stderr.fileHandleForReading.readDataToEndOfFile()
|
||||
printInfo("killall failed:\r\n\(String(data: output, encoding: String.Encoding.utf8)!)")
|
||||
printError("killall failed:\n\(String(data: output, encoding: String.Encoding.utf8)!)")
|
||||
}
|
||||
|
||||
// Wipe Download Directory
|
||||
|
|
Loading…
Reference in a new issue