1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-21 18:53:32 +00:00

fixed bug with console display optimization

This commit is contained in:
Bryan Roe
2022-07-07 12:34:26 -07:00
parent db93b53640
commit 8b3f59b841

View File

@@ -539,7 +539,7 @@ server.on('upgrade', function (msg, sck, head)
case 'console':
if (j.value != 'Command returned an exception error: TypeError: cyclic input')
{
if (j.sessionid == null || process.argv.getParameter('verbose') != null)
if (j.sessionid == null || process.argv.getParameter('verbose') != null || consoleMode)
{
console.log('Agent: ' + j.value);
}