From fd05ccd626c06c7e096c8067a4feb28dfe141ee7 Mon Sep 17 00:00:00 2001 From: Erik Thayer Date: Fri, 10 Mar 2017 01:52:50 -0600 Subject: [PATCH] stop debugger --- smartapps/ethayer/lock-manager.src/lock-manager.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/smartapps/ethayer/lock-manager.src/lock-manager.groovy b/smartapps/ethayer/lock-manager.src/lock-manager.groovy index 08c106f..2347609 100755 --- a/smartapps/ethayer/lock-manager.src/lock-manager.groovy +++ b/smartapps/ethayer/lock-manager.src/lock-manager.groovy @@ -327,11 +327,12 @@ def setAccess() { } def debuggerOn() { - return true + return false } def debugger(message) { - if (true) { + def doDebugger = debuggerOn() + if (doDebugger) { return log.debug(message) } }