diff options
Diffstat (limited to 'convert.go')
-rw-r--r-- | convert.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/convert.go b/convert.go index 5d6d276..2264946 100644 --- a/convert.go +++ b/convert.go @@ -15,12 +15,12 @@ func NewTLE(RawTLE string) (TLE, error) { lineOne, err := parseLineOne(SplitTLE) if err != nil { - fmt.Println(err) + return TLE{}, err } lineTwo, err := parseLineTwo(SplitTLE) if err != nil { - fmt.Println(err) + return TLE{}, err } // fill the generatedTLE struct |