Improved logging in InsightWorker
This commit is contained in:
@@ -109,6 +109,7 @@ namespace Bloom
|
||||
);
|
||||
|
||||
if (!resumedEvent.has_value()) {
|
||||
Logger::debug("Accepted TargetExecutionStopped event");
|
||||
this->lastTargetState = TargetState::STOPPED;
|
||||
emit this->targetStateUpdated(TargetState::STOPPED);
|
||||
emit this->targetProgramCounterUpdated(event.programCounter);
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Bloom
|
||||
|
||||
} catch (std::exception& exception) {
|
||||
this->state = InsightWorkerTaskState::FAILED;
|
||||
Logger::debug("InsightWorker task failed - " + std::string(exception.what()));
|
||||
Logger::error("InsightWorker task failed - " + std::string(exception.what()));
|
||||
emit this->failed(QString::fromStdString(exception.what()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user