diff --git a/updateSensor.php b/updateSensor.php
index 814337ee3c019d1bd5451959bb1751eab4a91cb5..8ee03b57f766007a60712f0379fb4d62f1200ddb 100644
--- a/updateSensor.php
+++ b/updateSensor.php
@@ -16,7 +16,7 @@ function getTemperature() {
 				fclose($sensorhandle);
 				// We want the value after the t= on the 2nd line
 				preg_match("/t=(.+)/", preg_split("/\n/", $thermometerReading)[1], $matches);
-				$celsius = round($matches[1] / 1000);
+				$celsius = $matches[1] / 1000;
 				fclose($handle);
 				return $celsius;
 			} else {
@@ -36,6 +36,8 @@ function getTemperature() {
 while(true) {
 	$temperature = getTemperature();
 
+	echo "Recorded temperature: " . $temperature . PHP_EOL;
+
 	if($temperature !== null) {
 		$ch = curl_init('https://api.chmonitor.com/v2/updateSensorTemperature.php');
 		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
@@ -43,6 +45,11 @@ while(true) {
 
 		$response = curl_exec($ch);
 
+		$json = json_decode($response, true);
+		if(isset($json['error'])) {
+			echo $json['error'] . PHP_EOL;
+		}
+
 		curl_close($ch);
 	}