Skip to content

Commit

Permalink
added debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolse committed Dec 24, 2023
1 parent 5b510ea commit 90535cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wallet/core/contracts/shaders_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ namespace beam::wallet {
}
catch(std::exception& ex)
{
LOG_ERROR() << "Failed to compile shader: " << ex.what();
LOG_DEBUG() << __FUNCTION__ << "[" << __LINE__ << "]" << ": _queue.pop()";
BOOST_SCOPE_EXIT_ALL(&, this) {
_queue.pop();
};
Expand All @@ -281,6 +283,7 @@ namespace beam::wallet {

if (m_BodyManager.empty())
{
LOG_DEBUG() << __FUNCTION__ << "[" << __LINE__ << "]" << ": _queue.pop()";
BOOST_SCOPE_EXIT_ALL(&, this) {
_queue.pop();
};
Expand Down Expand Up @@ -360,7 +363,7 @@ namespace beam::wallet {
LOG_WARNING() << "Queue has been cleared before request completed";
return;
}

LOG_DEBUG() << __FUNCTION__ << "[" << __LINE__ << "]" << ": _queue.pop()";
BOOST_SCOPE_EXIT_ALL(&, this) {
_queue.pop();
this->nextRequest();
Expand Down

0 comments on commit 90535cc

Please sign in to comment.