From 3708929a982d2fb3d1292af588753abc00dc0986 Mon Sep 17 00:00:00 2001 From: Jan Vansteenlandt Date: Wed, 20 Jan 2016 13:36:29 +0100 Subject: [PATCH] Small bugfix for error logging in geojson --- app/Tdt/Core/Formatters/GEOJSONFormatter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Tdt/Core/Formatters/GEOJSONFormatter.php b/app/Tdt/Core/Formatters/GEOJSONFormatter.php index a2a8fa35..cfd43216 100644 --- a/app/Tdt/Core/Formatters/GEOJSONFormatter.php +++ b/app/Tdt/Core/Formatters/GEOJSONFormatter.php @@ -281,7 +281,7 @@ public static function convertCoordinateArray($str) } elseif (count($coord_array) == 3) { array_push($result, array(floatval($coord_array[0]), floatval($coord_array[1]), floatval($coord_array[2]))); } else { - \Log::error("400", "An invalid coordinate was parsed."); + \Log::warning("An invalid coordinate was parsed."); } } return $result; @@ -315,7 +315,7 @@ public static function convertCoordinateSingleArray($str) } elseif (count($coordinates_array) == 3) { array_push($result, array(floatval($coordinates_array[0]), floatval($coordinates_array[1]), floatval($coordinates_array[2]))); } else { - \Log::error("400", "An invalid coordinate was parsed."); + \Log::warning("An invalid coordinate was parsed."); } } return $result;