Skip to content
Snippets Groups Projects
Commit 21582cf2 authored by Yuriy Kagan's avatar Yuriy Kagan
Browse files

fix crash when juicify exe is missing

parent 846f9ea5
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ func main() {
if err == nil {
agent, err := app.NewAgent(ctx, tlsConfig)
if err == nil {
if err == nil && agent != nil {
consumer, err := playnite.NewGpuMetricsConsumer(agent)
if err != nil {
logger.Warning(err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment