Mercurial > hg > orthanc
diff Core/Images/JpegReader.cpp @ 2085:5d4743fd8a85
fix log
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Sep 2016 17:08:15 +0200 |
parents | 08ce34cfacad |
children | aa4b8895cd23 |
line wrap: on
line diff
--- a/Core/Images/JpegReader.cpp Fri Sep 09 12:09:04 2016 +0200 +++ b/Core/Images/JpegReader.cpp Tue Sep 13 17:08:15 2016 +0200 @@ -112,7 +112,7 @@ { jpeg_destroy_decompress(&cinfo); fclose(fp); - LOG(ERROR) << "Error during JPEG encoding: " << jerr.GetMessage(); + LOG(ERROR) << "Error during JPEG decoding: " << jerr.GetMessage(); throw OrthancException(ErrorCode_InternalError); } @@ -149,7 +149,7 @@ if (setjmp(jerr.GetJumpBuffer())) { jpeg_destroy_decompress(&cinfo); - LOG(ERROR) << "Error during JPEG encoding: " << jerr.GetMessage(); + LOG(ERROR) << "Error during JPEG decoding: " << jerr.GetMessage(); throw OrthancException(ErrorCode_InternalError); }