Merge pull request #300 from jonleighton/crash_text

Link to the crash reporting guide
1.7
Ariya Hidayat 2012-08-04 11:32:02 -07:00
commit be5fe36b98
1 changed files with 4 additions and 3 deletions

View File

@ -75,9 +75,10 @@ void Utils::messageHandler(QtMsgType type, const char *msg)
bool Utils::exceptionHandler(const char* dump_path, const char* minidump_id, void* context, bool succeeded)
{
Q_UNUSED(context);
fprintf(stderr, "PhantomJS has crashed. Please file a bug report at " \
"https://code.google.com/p/phantomjs/issues/entry and " \
"attach the crash dump file: %s/%s.dmp\n",
fprintf(stderr, "PhantomJS has crashed. Please read the crash reporting guide at " \
"https://code.google.com/p/phantomjs/wiki/CrashReporting and file a " \
"bug report at https://code.google.com/p/phantomjs/issues/entry with the " \
"crash dump file attached: %s/%s.dmp\n",
dump_path, minidump_id);
return succeeded;
}