Skip to content

got an error I don't understand #556

@basusin

Description

@basusin

$ ./clipse
Failed to read config. Skipping.
Err: %w unexpected end of JSON input
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x24 pc=0x5097f4]

goroutine 1 [running]:
log.(*Logger).output(0xc000022050?, 0x42?, 0xc0000d7c38?, 0x4c913a?)
/opt/hostedtoolcache/go/1.23.2/x64/src/log/log.go:203 +0x34
log.(*Logger).Printf(...)
/opt/hostedtoolcache/go/1.23.2/x64/src/log/log.go:268
github.com/savedra1/clipse/utils.LogERROR({0xc000022050?, 0x28?})
/home/runner/work/clipse/clipse/utils/logger.go:19 +0xa5
github.com/savedra1/clipse/config.loadConfig({0xc0000180f0, 0x25})
/home/runner/work/clipse/clipse/config/config.go:90 +0x28c
github.com/savedra1/clipse/config.Init()
/home/runner/work/clipse/clipse/config/config.go:57 +0x179
main.main()
/home/runner/work/clipse/clipse/main.go:38 +0x65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions