MindHunter86 / addie

AniLibria media delivery manager
https://anilibria.tv
MIT License
0 stars 1 forks source link

panic #150

Open MindHunter86 opened 8 months ago

MindHunter86 commented 8 months ago
panic: interface conversion: interface {} is nil, not utils.TitleQuality                                                                                                                                                                                                                                                     goroutine 2468 [running]:                                                                                                                                                                                                                                                                                                    runtime/debug.Stack()                                                                                                                                                                                                                                                                                                                runtime/debug/stack.go:24 +0x65                                                                                                                                                                                                                                                                                      github.com/MindHunter86/addie/app.(*App).fiberConfigure.func1(0xc000ca2600, {0xadb980, 0xc000fccd20})                                                                                                                                                                                                                                github.com/MindHunter86/addie/app/router.go:48 +0xea                                                                                                                                                                                                                                                                 github.com/gofiber/fiber/v2/middleware/recover.New.func1.1()                                                                                                                                                                                                                                                                         github.com/gofiber/fiber/v2@v2.52.2/middleware/recover/recover.go:31 +0x7a                                                                                                                                                                                                                                           panic({0xadb980, 0xc000fccd20})                                                                                                                                                                                                                                                                                                      runtime/panic.go:884 +0x212                                                                                                                                                                                                                                                                                          github.com/MindHunter86/addie/app.(*App).fbMidAppFakeQuality(0xc00022c0e0, 0xa4add5?)                                                                                                                                                                                                                                  
        github.com/MindHunter86/addie/app/middleware.go:94 +0x434
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc0002f2c00?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/gofiber/fiber/v2/middleware/limiter.FixedWindow.New.func1(0xc000ca2600)
        github.com/gofiber/fiber/v2@v2.52.2/middleware/limiter/limiter_fixed.go:33 +0x3ee
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000ca2600?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/MindHunter86/addie/app.(*App).fbMidAppBlocklist(0xc00022c0e0, 0xc000bc67f0?)
        github.com/MindHunter86/addie/app/middleware.go:229 +0x1a5
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc0003aa198?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/gofiber/fiber/v2/middleware/skip.New.func1(0xad29e0?)
        github.com/gofiber/fiber/v2@v2.52.2/middleware/skip/skip.go:16 +0x39
github.com/gofiber/fiber/v2.(*App).next(0xc00028a000, 0xc000ca2600)
        github.com/gofiber/fiber/v2@v2.52.2/router.go:145 +0x1bf
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc00247c330?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1030 +0x53
github.com/gofiber/fiber/v2/middleware/cors.New.func1(0xc000ca2600)
        github.com/gofiber/fiber/v2@v2.52.2/middleware/cors/cors.go:191 +0x2da
github.com/gofiber/fiber/v2.(*Ctx).Next(0x4536a9?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/gofiber/fiber/v2/middleware/compress.New.func3(0xc000ca2600)
        github.com/gofiber/fiber/v2@v2.52.2/middleware/compress/compress.go:55 +0x45
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000ca2600?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/gofiber/fiber/v2/middleware/favicon.New.func1(0xc000ca2600)
        github.com/gofiber/fiber/v2@v2.52.2/middleware/favicon/favicon.go:121 +0xae
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000ca2600?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/gofiber/fiber/v2/middleware/pprof.New.func1(0xc000ca2600)
        github.com/gofiber/fiber/v2@v2.52.2/middleware/pprof/pprof.go:46 +0x535
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc00247c4e0?)
        github.com/gofiber/fiber/v2@v2.52.2/ctx.go:1027 +0x43
github.com/MindHunter86/addie/app.(*App).fiberConfigure.func3(0xc000ca2600)
        github.com/MindHunter86/addie/app/router.go:88 +0x15e
github.com/gofiber/fiber/v2.(*Ctx).Next(0x14bd370?)