Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"time":"2018-12-11T22:20:32.473099+07:00","level":"-","prefix":"echo","file":"recover.go","line":"73","message":"[PANIC RECOVER] interface conversion: interface {} is nil, not string goroutine 24 [running]:
- github.com/labstack/echo/middleware.RecoverWithConfig.func1.1.1(0x19354f0, 0x1000, 0xc000060000, 0x1a1d740, 0xc00015e150)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/recover.go:71 +0xf8
- panic(0x1812120, 0xc0002ced20)
- /usr/local/Cellar/go/1.11/libexec/src/runtime/panic.go:513 +0x1b9
- bitbucket.org/buuuksg/wearnes-valuation-api/internal/platform/postgres.(*CarDB).List(0xc0003a4080, 0xc000250e10, 0xc0002cec30, 0x1794520, 0xc0002ef550, 0xc0002cec60, 0xc00013e168, 0x0, 0xc000647680)
- /src/bitbucket.org/buuuksg/wearnes-valuation-api/internal/platform/postgres/car.go:29 +0x3d3
- bitbucket.org/buuuksg/wearnes-valuation-api/internal/calculator.(*Service).CalculateValueCar(0xc000177450, 0x1a1d740, 0xc00015e150, 0x0, 0x0, 0x1d164a00, 0xed1c09649, 0x0, 0x4044000000000000, 0x409f400000000000, ...)
- /src/bitbucket.org/buuuksg/wearnes-valuation-api/internal/calculator/calculator.go:57 +0x2b8
- bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service.(*Calculator).calculate(0xc0000b46b8, 0x1a1d740, 0xc00015e150, 0x190b7a9, 0xd)
- /src/bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service/calculator.go:54 +0x18e
- bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service.(*Calculator).calculate-fm(0x1a1d740, 0xc00015e150, 0x10, 0x0)
- /src/bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service/calculator.go:46 +0x3e
- github.com/labstack/echo.(*Echo).Add.func1(0x1a1d740, 0xc00015e150, 0x0, 0x18b9e60)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:480 +0x8a
- github.com/labstack/echo.WrapMiddleware.func1.1.1(0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:718 +0x79
- net/http.HandlerFunc.ServeHTTP(0xc0002ce360, 0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
- /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:1964 +0x44
- github.com/unrolled/secure.(*Secure).Handler.func1(0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
- /pkg/mod/github.com/unrolled/secure@v0.0.0-20181022170031-4b6b7cf51606/secure.go:144 +0xa2
- net/http.HandlerFunc.ServeHTTP(0xc0001a80c0, 0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
- /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:1964 +0x44
- github.com/labstack/echo.WrapMiddleware.func1.1(0x1a1d740, 0xc00015e150, 0x1d, 0x190c2b7)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:719 +0x137
- github.com/labstack/echo/middleware.CORSWithConfig.func1.1(0x1a1d740, 0xc00015e150, 0x19354f0, 0x1000)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/cors.go:117 +0x2df
- github.com/labstack/echo/middleware.RecoverWithConfig.func1.1(0x1a1d740, 0xc00015e150, 0x0, 0x0)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/recover.go:78 +0xd8
- github.com/labstack/echo/middleware.LoggerWithConfig.func2.1(0x1a1d740, 0xc00015e150, 0x4, 0xc0001eda45)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/logger.go:118 +0x1c3
- github.com/labstack/echo.(*Echo).ServeHTTP(0xc000376000, 0x1a11f60, 0xc0002ae000, 0xc0001cc000)
- /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:583 +0x220
- net/http.serverHandler.ServeHTTP(0xc00024d930, 0x1a11f60, 0xc0002ae000, 0xc0001cc000)
- /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:2741 +0xab
- net/http.(*conn).serve(0xc00013e000, 0x1a124a0, 0xc00033e040)
- /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:1847 +0x646
- created by net/http.(*Server).Serve
- /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:2851 +0x2f5
- goroutine 1 [chan receive]:
- bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/server.Start(0xc000376000, 0xc00024e8f0)
- /src/bitbucket.or
- "}
- {"time":"2018-12-11T22:20:32.474037+07:00","level":"ERROR","prefix":"echo","file":"error.go","line":"83","message":"interface conversion: interface {} is nil, not string"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement