# HG changeset patch # User Teemu Piippo # Date 1479589038 -7200 # Node ID 940b3e565ac3660adb976caecf68d88726ef2e96 # Parent 7800dbb006324e93979874b6dfdbb84179a03d55 Display error string if unable to write a crash log. diff -r 7800dbb00632 -r 940b3e565ac3 src/crashCatcher.cpp --- a/src/crashCatcher.cpp Fri Nov 18 03:01:38 2016 +0200 +++ b/src/crashCatcher.cpp Sat Nov 19 22:57:18 2016 +0200 @@ -96,12 +96,12 @@ } else { - printf("Unable to write a crashlog.\n"); + printf("Unable to write a crashlog: %s\n", file.errorString().toUtf8().constData()); } } else { - printf("Unable to write commands to temporary file."); + printf("Unable to write commands to temporary file: %s", commandsFile.errorString().toUtf8().constData()); } finalAbort();