about summary refs log tree commit diff
path: root/convert.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-09-02 21:58:08 +0200
committerEmile <hanemile@protonmail.com>2019-09-02 21:58:08 +0200
commitae41f6a4be969d7d3ccc42f8392b3da7b9b33884 (patch)
tree2a643ee4e2ff82c7229614b443e3337367faa56f /convert.go
parentea57e88faeec2616008ab43a3fdea51b9ccc1323 (diff)
updated the tests increasing the coverage
Diffstat (limited to 'convert.go')
-rw-r--r--convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert.go b/convert.go
index b9b8458..2264946 100644
--- a/convert.go
+++ b/convert.go
@@ -20,7 +20,7 @@ func NewTLE(RawTLE string) (TLE, error) {
 
 	lineTwo, err := parseLineTwo(SplitTLE)
 	if err != nil {
-		fmt.Println(err)
+		return TLE{}, err
 	}
 
 	// fill the generatedTLE struct