1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-23 18:34:02 +02:00

Handling not-handled error

This commit is contained in:
Jesús Espino 2020-10-09 10:28:39 +02:00
parent d41c747a7a
commit 944851729d

View File

@ -34,7 +34,10 @@ func readConfigFile() (*Configuration, error) {
}
configuration := Configuration{}
viper.Unmarshal(&configuration)
err = viper.Unmarshal(&configuration)
if err != nil {
return nil, err
}
log.Println("readConfigFile")
log.Printf("%+v", configuration)