Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Error message should refer to property tested above
  • Loading branch information
edwingustafson committed Feb 19, 2019
commit b2bb34ead6cc9d08e34b9ce0f4107a2e68d741a4
2 changes: 1 addition & 1 deletion lib/iob/calculate.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function iobCalcExponential(treatment, minsAgo, dia, peak, profile) {
peak = 55;
}
} else {
console.error('Curve of',curve,'is not supported.');
console.error('Curve of',profile.curve,'is not supported.');
}
var end = dia * 60; // end of insulin activity, in minutes

Expand Down