about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--csv/csv.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/csv/csv.go b/csv/csv.go
index 007c0f9..1b3c0bc 100644
--- a/csv/csv.go
+++ b/csv/csv.go
@@ -21,10 +21,10 @@ func Import(path string, start int, end int, slice []structs.Star2D) []structs.S
 
 		// Handle errors
 		if errx != nil {
-			logplus.LogFError("error reading value from csv in line nr. %d (%s)", linenr, errx)
+			logplus.LogErrorf("error reading value from csv in line nr. %d (%s)", linenr, errx)
 		}
 		if erry != nil {
-			logplus.LogFError("error reading value from csv in line nr. %d (%s)", linenr, erry)
+			logplus.LogErrorf("error reading value from csv in line nr. %d (%s)", linenr, erry)
 		}
 
 		// Create a temporary star for assembling the star