comparison Framework/Common/ImplicitTransaction.cpp @ 25:69a94267cdea

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Jul 2018 21:01:37 +0200
parents b2ff1cd2907a
children c0cb5d2cd696
comparison
equal deleted inserted replaced
24:17f849b2af34 25:69a94267cdea
46 case State_Executed: 46 case State_Executed:
47 LOG(ERROR) << "An implicit transaction has not been committed"; 47 LOG(ERROR) << "An implicit transaction has not been committed";
48 break; 48 break;
49 49
50 default: 50 default:
51 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); 51 LOG(ERROR) << "Internal error in ImplicitTransaction destructor";
52 break;
52 } 53 }
53 } 54 }
54 55
55 56
56 void ImplicitTransaction::Rollback() 57 void ImplicitTransaction::Rollback()