diff --git a/lib/profile/index.js b/lib/profile/index.js
index <HASH>..<HASH> 100644
--- a/lib/profile/index.js
+++ b/lib/profile/index.js
@@ -46,6 +46,8 @@ function generate (inputs, opts) {
   }
   if (typeof(inputs.carbratio) != "undefined") {
     profile.carb_ratio = carb_ratios.carbRatioLookup(inputs);
+  } else {
+  	console.error("Profile wan't given carb ratio data, cannot calculate carb_ratio");
   }
 
   return profile;
Add an error message to console in case carb sensitivity data is missing