Closed AndreyMashukov closed 5 months ago
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior bot has started
Additional context
gitlab.com/open-soft/go-crypto-bot/src/model.(*SwapConfig).Scan(0xc00012eb80, {0x0?, 0x0}) /go/src/app/src/model/bot.go:38 +0xa9 database/sql.convertAssignRows({0x7a2cc0, 0xc00012eb80?}, {0x0?, 0x0?}, 0xc000154120) /usr/local/go/src/database/sql/convert.go:386 +0x20ef database/sql.(*Rows).Scan(0xc000154120, {0xc00015d3c8, 0x6, 0x83d43d?}) /usr/local/go/src/database/sql/sql.go:3326 +0x39d database/sql.(*Row).Scan(0xc000012120, {0xc00015d3c8?, 0x6, 0x6}) /usr/local/go/src/database/sql/sql.go:3445 +0x132 gitlab.com/open-soft/go-crypto-bot/src/repository.(*BotRepository).GetCurrentBot(0xc0000120f0) /go/src/app/src/repository/bot_repository.go:80 +0x17d gitlab.com/open-soft/go-crypto-bot/src/config.InitServiceContainer() /go/src/app/src/config/container.go:59 +0x3cf main.main() /go/src/app/main.go:23 +0x1d2 panic: interface conversion: interface {} is nil, not []uint8
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior bot has started
Additional context