src/crashCatcher.cpp

changeset 1060
940b3e565ac3
parent 1058
695edd4f0411
child 1072
9ce9496427f2
equal deleted inserted replaced
1059:7800dbb00632 1060:940b3e565ac3
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

mercurial