Chromium Code Reviews| Index: sql/diagnostic_error_delegate.h |
| diff --git a/sql/diagnostic_error_delegate.h b/sql/diagnostic_error_delegate.h |
| index 6a09fc0ef4c05da883c9b7b5a6e3ce6688be2eae..dd57f100214d919f47cd59a86a23ed92f9fc3fb5 100644 |
| --- a/sql/diagnostic_error_delegate.h |
| +++ b/sql/diagnostic_error_delegate.h |
| @@ -28,9 +28,9 @@ class DiagnosticErrorDelegate : public ErrorDelegate { |
| virtual int OnError(int error, Connection* connection, |
| Statement* stmt) { |
| - NOTREACHED() << "sqlite error " << error |
| - << ", errno " << connection->GetLastErrno() |
| - << ": " << connection->GetErrorMessage(); |
| + LOG(ERROR) << "sqlite error " << error |
|
michaeln
2012/02/08 06:11:33
Switching to LOG(ERROR) here sgtm.
|
| + << ", errno " << connection->GetLastErrno() |
| + << ": " << connection->GetErrorMessage(); |
| RecordErrorInHistogram(error); |
| return error; |
| } |