Compare commits

...

1 Commits

3 changed files with 3 additions and 2 deletions

BIN
.config.yaml.kate-swp Normal file

Binary file not shown.

View File

@ -48,7 +48,7 @@ func (a *App) ReadConfig() {
} else if _, err := os.Stat(etcConfig); err == nil {
configFile = etcConfig
} else {
log.Fatal("Unable to find a configuration file.")
log.Println("Unable to find a configuration file.")
}
// Load the configuration file.
@ -68,6 +68,7 @@ func (a *App) ReadConfig() {
fig.Dirs(filePath),
)
if err != nil {
app.config = config
log.Printf("Error parsing configuration: %s\n", err)
return
}

View File

@ -15,7 +15,7 @@ import (
const (
serviceName = "midi-request-trigger"
serviceDescription = "Takes trigger MIDI messages by HTTP or MQTT requests and trigger HTTP or MQTT requests by MIDI messages"
serviceVersion = "0.2"
serviceVersion = "0.2.1"
)
// App is the global application structure for communicating between servers and storing information.