kjk / edna

Note taking for developers and power users
https://edna.arslexis.io
Other
391 stars 18 forks source link

Bug: missing LOGSTATIC API KEY panic #35

Closed f8dca closed 4 months ago

f8dca commented 4 months ago

I followed the new instructions to build a local edna.exe file. The build process finished and produced a valid exe file but when running

edna.exe -run-prod

I get the following error:

edna.exe -run-prod
getSecrets(): using minimal dev secrets from secretsDev of length 189
loadSecret: got 0 secrets
panic: missing LOGTASTIC_API_KEY, len: 0, wanted: 30

goroutine 1 [running]:
github.com/kjk/common/u.PanicIf(0x55?, {0xc0000aee00?, 0x4?, 0x4?})
        C:/Users/.../Code/GO/pkg/mod/github.com/kjk/common@v0.0.0-20240610102658-51cde1582125/u/base.go:34 +0x4c
main.loadSecrets.func1({0x7c5e55, 0x11}, 0x1260c80, 0x1e, 0x1)
        C:/Users/.../edna/server/main.go:84 +0x292
main.loadSecrets()
        C:/Users/g.../edna/server/main.go:102 +0xb5
main.main()
        C:/Users/.../edna/server/main.go:246 +0x545