Mercurial > hg > orthanc-webviewer
diff Orthanc/Core/SQLite/Connection.cpp @ 128:e8cfda4c8a2f
Sync + support of JPEG2000 lossless images with YBR_RCT photometric interpretation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Apr 2016 21:44:03 +0200 |
parents | 3809121c3290 |
children |
line wrap: on
line diff
--- a/Orthanc/Core/SQLite/Connection.cpp Fri Mar 25 17:38:34 2016 +0100 +++ b/Orthanc/Core/SQLite/Connection.cpp Fri Apr 15 21:44:03 2016 +0200 @@ -163,7 +163,8 @@ if (error == SQLITE_ERROR) { #if ORTHANC_SQLITE_STANDALONE != 1 - LOG(ERROR) << "SQLite execute error: " << sqlite3_errmsg(db_); + LOG(ERROR) << "SQLite execute error: " << sqlite3_errmsg(db_) + << " (" << sqlite3_extended_errcode(db_) << ")"; #endif throw OrthancSQLiteException(ErrorCode_SQLiteExecute);