From e4a9b7da09325c84fc738f713f790c22a39d3341 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 23 Sep 2019 15:34:59 +0200 Subject: removed code printing a possibly nonexistant string printing the string resulting in an error doesnt seem like a good idea --- convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'convert.go') diff --git a/convert.go b/convert.go index 100538b..15c3962 100644 --- a/convert.go +++ b/convert.go @@ -39,7 +39,7 @@ func parseLineOne(SplitTLE []string) (LineOne, error) { // parse the line number LineOneLinenumber, err := strconv.Atoi(string(SplitTLE[1][0])) if err != nil { - return LineOne{}, fmt.Errorf("%s: %#v\n%v", "Could not parse the line number", SplitTLE[1][1], err) + return LineOne{}, fmt.Errorf("%#v\n%v", "Could not parse the line number", err) } // Parse the Satellite Number -- cgit 1.4.1