Commit 421a8b51 authored by Sander van Harmelen's avatar Sander van Harmelen

Tweak error message...

parent 3e9d9e15
...@@ -347,7 +347,7 @@ func parseID(id interface{}) (string, error) { ...@@ -347,7 +347,7 @@ func parseID(id interface{}) (string, error) {
case string: case string:
return v, nil return v, nil
default: default:
return "", fmt.Errorf("the ID must be an int or a string but is %#v", id) return "", fmt.Errorf("invalid ID type %#v, the ID must be an int or a string", id)
} }
} }
......
Markdown is supported
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