changeset 2085:5d4743fd8a85

fix log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Sep 2016 17:08:15 +0200
parents 20a001ea4aa2
children 630606097798
files Core/Images/JpegReader.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);
     }