Skip to content

Commit

Permalink
fix: more descriptive log
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 committed Aug 20, 2024
1 parent 11266a2 commit 55ab1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/account/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ uint8_t Account::removeCoins(const uint8_t &type, const uint32_t &amount, const
}

if (coins < amount) {
g_logger().info("Account doesn't have enough coins! current[{}], remove:[{}]", coins, amount);
g_logger().info("Account {} doesn't have enough coins! current[{}], remove:[{}]", getID(), coins, amount);
return enumToValue(AccountErrors_t::RemoveCoins);
}

Expand Down

0 comments on commit 55ab1dc

Please sign in to comment.