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:
parent
d41c747a7a
commit
944851729d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user