94 file.close(); |
94 file.close(); |
95 printf("Backtrace written to " UNIXNAME "-crash.log. Aborting.\n"); |
95 printf("Backtrace written to " UNIXNAME "-crash.log. Aborting.\n"); |
96 } |
96 } |
97 else |
97 else |
98 { |
98 { |
99 printf("Unable to write a crashlog.\n"); |
99 printf("Unable to write a crashlog: %s\n", file.errorString().toUtf8().constData()); |
100 } |
100 } |
101 } |
101 } |
102 else |
102 else |
103 { |
103 { |
104 printf("Unable to write commands to temporary file."); |
104 printf("Unable to write commands to temporary file: %s", commandsFile.errorString().toUtf8().constData()); |
105 } |
105 } |
106 |
106 |
107 finalAbort(); |
107 finalAbort(); |
108 } |
108 } |
109 |
109 |