Mercurial > hg > orthanc
comparison OrthancServer/DatabaseWrapper.cpp @ 2955:bbfd95a0c429
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Dec 2018 14:59:23 +0100 |
parents | bb63068844ae |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2954:d924f9bb61cc | 2955:bbfd95a0c429 |
---|---|
364 { | 364 { |
365 } | 365 } |
366 | 366 |
367 if (!ok) | 367 if (!ok) |
368 { | 368 { |
369 LOG(ERROR) << "Incompatible version of the Orthanc database: " << tmp; | 369 throw OrthancException(ErrorCode_IncompatibleDatabaseVersion, |
370 throw OrthancException(ErrorCode_IncompatibleDatabaseVersion); | 370 "Incompatible version of the Orthanc database: " + tmp); |
371 } | 371 } |
372 | 372 |
373 signalRemainingAncestor_ = new Internals::SignalRemainingAncestor; | 373 signalRemainingAncestor_ = new Internals::SignalRemainingAncestor; |
374 db_.Register(signalRemainingAncestor_); | 374 db_.Register(signalRemainingAncestor_); |
375 } | 375 } |