about summary refs log tree commit diff
path: root/convert.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-09-02 21:57:12 +0200
committerEmile <hanemile@protonmail.com>2019-09-02 21:57:12 +0200
commitea57e88faeec2616008ab43a3fdea51b9ccc1323 (patch)
tree2e0bac1a708dc24f8638ae3d40e1d28e5011baa2 /convert.go
parent2e4fefaf0858b3a4f53b9517a37c8fd88f53d81b (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 5d6d276..b9b8458 100644
--- a/convert.go
+++ b/convert.go
@@ -15,7 +15,7 @@ func NewTLE(RawTLE string) (TLE, error) {
 
 	lineOne, err := parseLineOne(SplitTLE)
 	if err != nil {
-		fmt.Println(err)
+		return TLE{}, err
 	}
 
 	lineTwo, err := parseLineTwo(SplitTLE)