mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
0884d4d3a8
Previously, any attempt to create a new crash report database would result in this message being logged: [p:t:yyyymmdd,hhmmss.uuuuuu:ERROR file_io.cc:30] read: expected 40, observed 0 This would be the first thing that a developer embedding Crashpad into their application would see after getting everything right. It doesn’t exactly seem like everything’s right with that being logged. It would also be the first thing that a user would see on stderr or in logs upon launching a Crashpad-enabled application, which also seems kind of dodgy. The crash report database settings creation logic is restructured to avoid logging this error when definitely creating a new database, while retaining all other error logging. BUG=crashpad:63 TEST=crashpad_database_util --database $new_db --show-client-id (should not show any errors) R=rsesek@chromium.org, scottmg@chromium.org Review URL: https://codereview.chromium.org/1392953002 .