un-stopped bot return status "stopped" instead of the error

This commit is contained in:
2025-10-07 16:10:14 +07:00
parent f30cc7dc47
commit ff7e4ed3d3
3 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ namespace Managing.Application.ManageBot
catch (Exception e)
{
_tradingBotLogger.LogError(e, "Error stopping bot {Identifier}", identifier);
return BotStatus.Stopped;
throw;
}
}