<div dir="ltr">I'm working on upgrading to v1.1. I'm running latest master.<div><br></div><div>I created a new virtual parameter called "mac" and used the example script at <a href="https://github.com/zaidka/genieacs/wiki/Virtual-Parameters">https://github.com/zaidka/genieacs/wiki/Virtual-Parameters</a> </div><div><br></div><div>Is there any way to log values inside the script? I tried console.log, and let logger = require('./logger'); to no avail.</div><div><br></div><div>When the script runs, I get this error:</div><div><br></div><div><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt">2017-02-22T15:24:42.863Z [ERROR] Uncaught exception; exceptionName="SyntaxError" exceptionMessage="Unexpected token )" exceptionStack="mac:12<br>for (d.size) {<br>           ^<br>           SyntaxError: Unexpected token )<br>at /opt/genieacs/lib/cache.js:299:45<br>at handleCallback (/opt/genieacs/node_modules/mongodb/lib/utils.js:95:56)<br>at /opt/genieacs/node_modules/mongodb/lib/cursor.js:852:16<br>at handleCallback (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:171:5)<br>at setCursorDeadAndNotified (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:505:3)<br>at nextFunction (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:651:7)<br>at Cursor.next [as _next] (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:692:3)<br>at fetchDocs (/opt/genieacs/node_modules/mongodb/lib/cursor.js:848:10)<br>at /opt/genieacs/node_modules/mongodb/lib/cursor.js:871:7<br>at handleCallback (/opt/genieacs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:171:5)<br></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt"><br></pre><pre style="color:rgb(0,0,0);font-family:hack;font-size:9pt">Any help is appreciated!</pre></div></div>