datatogether / coverage

Project for visualizing the status of digital data archiving efforts across various data repositories
http://api.archivers.co/coverage
GNU Affero General Public License v3.0
2 stars 3 forks source link

Panic when required configs are missing #24

Closed ibnesayeed closed 5 years ago

ibnesayeed commented 6 years ago

Hey there, thank you for submitting an issue!

We are trying to keep issues for feature requests and bug reports. Please complete the following checklist before creating a new one:


If the POSTGRES_DB_URL or corresponding config key is not setup, the program panics. This should exit with error status instead.

panic: server configuration error: POSTGRES_DB_URL env variable or config key must be set

goroutine 1 [running]:
main.main()
    /go/src/github.com/datatogether/coverage/server.go:53 +0x36a