Changeset d5bf20


Ignore:
Timestamp:
Apr 5, 2017, 1:25:27 PM (5 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
d357c7
Parents:
cbe8c6
Message:

changes for TB52 (removed [,mo]-issue)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/vI_log.js

    rcbe8c6 rd5bf20  
    9898    // The trick below prevents errors further down because mo is null or
    9999    //  undefined.
    100     let messageString = [
    101       ("" + mo) for each([, mo] in Iterator(message.messageObjects))
    102     ].join(" ");
     100    let messageString = message.messageObjects.map(mo => "" + mo).join(" ");
    103101    return messageString;
    104102  }
     
    113111    // The trick below prevents errors further down because mo is null or
    114112    //  undefined.
    115     let messageString = [
    116       ("" + mo) for each([, mo] in Iterator(message.messageObjects))
    117     ].join(" ");
     113    let messageString = message.messageObjects.map(mo => "" + mo).join(" ");
    118114    return message.loggerName.replace("virtualIdentity.", "") + ":\t" + messageString + "\n";
    119115  }
Note: See TracChangeset for help on using the changeset viewer.