From e0424c3b64b51fcbc467a956996363a30edf2b82 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Fri, 25 Aug 2023 20:27:50 -0700 Subject: [PATCH] Improve error message --- cmd/tafparser/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tafparser/main.go b/cmd/tafparser/main.go index da65286..024f6d3 100644 --- a/cmd/tafparser/main.go +++ b/cmd/tafparser/main.go @@ -64,7 +64,7 @@ func main() { } // The backend doesn't return an error for non-existent reports, so check the content length instead if res.ContentLength == 0 { - log.Fatal("Could not find a TAF report for the specified airport").Str("id", *identifier).Send() + log.Fatal("Couldn't find a TAF report for the specified airport").Str("id", *identifier).Send() } defer res.Body.Close() r = res.Body