From fe92915037fcf587d5b6b8d4ba5b82ff243adbc9 Mon Sep 17 00:00:00 2001 From: samr28 Date: Fri, 13 Oct 2017 23:36:24 -0500 Subject: [PATCH] Log message formatting --- scripts/agenda.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/agenda.js b/scripts/agenda.js index f986857..f582b0a 100644 --- a/scripts/agenda.js +++ b/scripts/agenda.js @@ -30,7 +30,7 @@ function rmByName(robot, value) { } function rmById(robot, id) { if (id > getAgendaLength(robot)) { - console.log(new Error(`Value '${id} is out of bounds of ${getAgendaLength(robot)}`)); + console.log(new Error(`Value '${id}' is out of bounds of ${getAgendaLength(robot)}`)); return new Error(`There are only ${getAgendaLength(robot)}. But you tried to remove item #${id}.`); } removeBrainDataById(robot, id);