Closed rporres closed 5 years ago
Interesting that the trace only talks about gRPC
Potential fix: https://github.com/src-d/lookout-terraform-analyzer/pull/8
If that doesn't help it might be a case for @src-d/applications since this happens in github.com/src-d/lookout/util/grpchelper/logger.go
You need to do
log.DefaultFactory = &log.LoggerFactory{Level: conf.LogLevel}
log.DefaultLogger = log.New(nil)
in your main package.
Sdk update won't help because you use helpers from lookout server, not lookouk-sdk. Lookout server isn't supposed to be used as a library.
@smacker thank you! didn't spot that! I looked at the gometalint one and found those helpers, didn't know they were not supposed to be used
um. gometalint was created before sdk started to exist 😅 if you miss something in sdk feel free to create issues/feature requests. We need some feedback :)
@dpordomingo is going to take a look at this one, marking it as blocked for the infra team.
:point_up: @meyskens done by #9
https://github.com/src-d/lookout-terraform-analyzer/releases/tag/v0.1.0 was released and deployed successfully fixing the crashes. It also contained changes from #10