Commit b3f1e2dc authored by Bas Westerbaan's avatar Bas Westerbaan
Browse files

irmaconfig: be a bit more verbose on some errors

parent d2f901ef
......@@ -615,7 +615,7 @@ func (i SchemeManagerIndex) FromString(s string) error {
func (conf *Configuration) parseIndex(name string, manager *SchemeManager) error {
path := filepath.Join(conf.path, name, "index")
if err := fs.AssertPathExists(path); err != nil {
return errors.New("Missing scheme manager index file")
return fmt.Errorf("Missing scheme manager index file; tried %s", path)
}
indexbts, err := ioutil.ReadFile(path)
if err != nil {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment