nightscout / trio-oref

MIT License
7 stars 4 forks source link

fix threshold console.error #17

Closed MikePlante1 closed 5 months ago

MikePlante1 commented 5 months ago

Example of log before this PR: 2024-04-13T09:52:36-0400 [OpenAPS] JavaScriptWorker.swift - createContext() - 23 - DEV: JavaScript log: Threshold set to ${convert_bg(threshold, profile)}

Example of log after this PR: 2024-04-13T09:46:01-0400 [OpenAPS] JavaScriptWorker.swift - createContext() - 23 - DEV: JavaScript log: Threshold set to 75

JeremyStorring commented 5 months ago

Looks great!

mountrcg commented 5 months ago

The way console.errors are usually done in det-basal is (“Text “ + function(a, b) + “ Text “ + variable)

Jeses, 3 edits - iPhone typing is not for me🤨