All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

Crash reporter cleanup and fix auto-send config

Review Request #383 - Created July 7, 2011 and submitted

Stone Linden Reviewers
http://bitbucket.org/stone_linden/viewer-development-crashlog
storm-1482 alain_linden, jenn, nat_linden
None viewer-development
The Viewer ships with the crash reporter config set to auto-send crash reports, but at runtime overwrites this config with always-ask. Restore default auto-send functionality, as well as respecting other options as configured.

And be a good code citizen; do janitorial work as necessary to make this feature neat and clean.
Builds.
Review request changed
Updated (July 12, 2011, 3:40 p.m.)
I think this is ready to ship. I've testing on Mac OS X and it works nicely, and even logs now, so you can see what it's up to! The log file is at ~/Library/Application\ Support/SecondLife/logs/crashreport.log on Mac, and some variant of that on the other platforms.

Nat - the one suggestion you made I didn't end up using was the isValidCrashBehavior check. Since I cut out the Viewer usage, and only have the list of possible values in two places right next to each other in llcrashlogger, I kept the switch statements.