prplecake / jphotos

GNU Affero General Public License v3.0
0 stars 0 forks source link

Handle password failure more gracefully #25

Open prplecake opened 2 years ago

prplecake commented 2 years ago
$ ./jphotos-server
2019/11/04 16:35:07 Initializing...
2019/11/04 16:35:07 open cmd/jphotos-server/jphotos.yaml: no such file or directory
panic: open cmd/jphotos-server/jphotos.yaml: no such file or directory

goroutine 1 [running]:
log.Panic(0xc0000d5e48, 0x1, 0x1)
        /usr/local/go/src/log/log.go:338 +0xac
main.main()
        /opt/jphotos/cmd/jphotos-server/main.go:34 +0x14d

Maybe we can serve a basic HTML page to instruct the user to finish setting things up?

prplecake commented 11 months ago

See JPHOTOS-25