We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fc3446 + 6362dbe commit a46d5b5Copy full SHA for a46d5b5
go/base/context.go
@@ -700,7 +700,7 @@ func (this *MigrationContext) ReadConfigFile() error {
700
gcfg.RelaxedParserMode = true
701
gcfgscanner.RelaxedScannerMode = true
702
if err := gcfg.ReadFileInto(&this.config, this.ConfigFile); err != nil {
703
- return err
+ return fmt.Errorf("Error reading config file %s. Details: %s", this.ConfigFile, err.Error())
704
}
705
706
// We accept user & password in the form "${SOME_ENV_VARIABLE}" in which case we pull
0 commit comments