diff options
author | Emile <hanemile@protonmail.com> | 2019-09-23 15:34:59 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-09-23 15:34:59 +0200 |
commit | e4a9b7da09325c84fc738f713f790c22a39d3341 (patch) | |
tree | 80887e8ad64c1bb69f978af581092819e4ce906f /convert.go | |
parent | 6b109e6107a9b10cd41285e708c298cd8f9e0434 (diff) |
removed code printing a possibly nonexistant string
printing the string resulting in an error doesnt seem like a good idea
Diffstat (limited to 'convert.go')
-rw-r--r-- | convert.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |