cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <>
Subject [jira] [Closed] (CB-10518) Cordova reports error events with incorrect log level
Date Wed, 17 Feb 2016 08:57:18 GMT


Vladimir Kotikov closed CB-10518.
    Resolution: Fixed
      Assignee: Vladimir Kotikov

> Cordova reports error events with incorrect log level
> -----------------------------------------------------
>                 Key: CB-10518
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>            Priority: Minor
>              Labels: triaged
> In case of fatal errors {{cordova run}} and {{cordova emulate}} methods emit error messages
using {{log}} event. This code probably should be changed to use 'warn' level. (We can't use
'error' here due to its special meaning in Node:
> There is also other places, where 'log' events is used incorrectly:
> cordova-lib\src\cordova\targets.js:        events.emit('log', 'An unexpected error has
> cordova-lib\src\plugman\browserify.js:        events.emit('log', 'error while generating
> cordova-lib\src\plugman\browserify.js:            events.emit('log', 'Error running platform
version script');

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message