From 4f0d396adfabea3860c1cc853b20309ae73adc72 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 6 Oct 2023 15:26:56 +0100 Subject: [PATCH] capitalisation of error message --- libs/bluetooth/jswrap_bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bluetooth/jswrap_bluetooth.c b/libs/bluetooth/jswrap_bluetooth.c index 7faff7459c..dcf364339f 100644 --- a/libs/bluetooth/jswrap_bluetooth.c +++ b/libs/bluetooth/jswrap_bluetooth.c @@ -2281,7 +2281,7 @@ void jswrap_ble_findDevices(JsVar *callback, JsVar *options) { JsVar *v = jsvObjectGetChildIfExists(options,"timeout"); if (v) time = jsvGetFloatAndUnLock(v); } else if (options) { - jsExceptionHere(JSET_ERROR, "Expecting number or object, got %t", options); + jsExceptionHere(JSET_ERROR, "Expecting Number or object, got %t", options); return; } if (isnan(time) || time < 10) {