Rename uploaded log file to get Bugsplat to server as text/plain
parent
de5c07ec50
commit
2961fea693
|
|
@ -301,9 +301,13 @@ struct AttachmentInfo
|
|||
|
||||
// We "happen to know" that info[0].basename is "SecondLife.old" -- due to
|
||||
// the fact that BugsplatMac only notices a crash during the viewer run
|
||||
// following the crash. Replace .old with .log to reduce confusion.
|
||||
// following the crash.
|
||||
// The Bugsplat service doesn't respect the MIME type above when returning
|
||||
// the log data to a browser, so take this opportunity to rename the file
|
||||
// from <base>.old to <base>_log.txt
|
||||
info[0].basename =
|
||||
boost::filesystem::path(info[0].pathname).stem().string() + ".log";
|
||||
boost::filesystem::path(info[0].pathname).stem().string() + "_log.txt";
|
||||
infos("attachmentsForBugsplatStartupManager attaching log " + info[0].basename);
|
||||
|
||||
NSMutableArray *attachments = [[NSMutableArray alloc] init];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue