diff options
Diffstat (limited to 'skate')
-rw-r--r-- | skate/zippy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/zippy.go b/skate/zippy.go index 5d62704..65155e8 100644 --- a/skate/zippy.go +++ b/skate/zippy.go @@ -223,7 +223,7 @@ func CutSep(line, sep string, column int) string { func makeKeyFunc(sep string, column int) func(string) (string, error) { return func(s string) (string, error) { if k := CutSep(s, sep, column); k == "" { - return k, fmt.Errorf("cannot get key: %s", s) + return k, fmt.Errorf("cannot get key from column %d in line (len=%d): %s", column, len(s), s) } else { return k, nil } |