1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 11:00:55 +02:00

Use logger rather than panic in ingest

This commit is contained in:
Alexandre Iooss
2020-10-05 11:38:17 +02:00
parent cbe6a00d1a
commit 76f009efe3
2 changed files with 24 additions and 15 deletions

View File

@ -79,6 +79,9 @@ func loadConfiguration() {
}
func main() {
// Configure logger
log.SetFlags(log.Ldate | log.Ltime | log.Lshortfile)
// Load configuration
loadConfiguration()
cfg := struct {