mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-26 18:48:15 +02:00
Handling not-handled error
This commit is contained in:
parent
d41c747a7a
commit
944851729d
@ -34,7 +34,10 @@ func readConfigFile() (*Configuration, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
configuration := Configuration{}
|
configuration := Configuration{}
|
||||||
viper.Unmarshal(&configuration)
|
err = viper.Unmarshal(&configuration)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
log.Println("readConfigFile")
|
log.Println("readConfigFile")
|
||||||
log.Printf("%+v", configuration)
|
log.Printf("%+v", configuration)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user