[jira] [Commented] (CB-5613) Cordova does not return an error when you have a malformed .json file and when you provide a -d

2013-12-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13844529#comment-13844529
 ] 

ASF subversion and git services commented on CB-5613:
-

Commit c7a02e563f84b646e28fa4e811faaef76f7dd129 in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=c7a02e5 ]

CB-5613 use throw Error to include stack information for -d


 Cordova does not return an error when you have a malformed .json file and 
 when you provide a -d
 -

 Key: CB-5613
 URL: https://issues.apache.org/jira/browse/CB-5613
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: JennyGee
Assignee: Josh Soref
Priority: Minor

 When you provide a malformed .json file, like below:
 id:webworks.default,name:WebWorks Application}
 And you just build it with no arguments you get this error:
 Parsing .cordova/config.json at line 1 col 1; Expected an assignment or 
 function call and instead saw an expression.
 But if you build it with a -d flag, you get an undefined. Which is even 
 less information.
  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5613) Cordova does not return an error when you have a malformed .json file and when you provide a -d

2013-12-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13844530#comment-13844530
 ] 

ASF subversion and git services commented on CB-5613:
-

Commit ee95ff18eed1a3bc13ead6004c87c2df4e95d2bd in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=ee95ff1 ]

CB-5613 Never hide stack trace on uncaughtExceptions.

Uncaught exceptions are bugs, so stack traces are always helpful.


 Cordova does not return an error when you have a malformed .json file and 
 when you provide a -d
 -

 Key: CB-5613
 URL: https://issues.apache.org/jira/browse/CB-5613
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: JennyGee
Assignee: Josh Soref
Priority: Minor

 When you provide a malformed .json file, like below:
 id:webworks.default,name:WebWorks Application}
 And you just build it with no arguments you get this error:
 Parsing .cordova/config.json at line 1 col 1; Expected an assignment or 
 function call and instead saw an expression.
 But if you build it with a -d flag, you get an undefined. Which is even 
 less information.
  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5613) Cordova does not return an error when you have a malformed .json file and when you provide a -d

2013-12-09 Thread Josh Soref (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13843541#comment-13843541
 ] 

Josh Soref commented on CB-5613:


https://github.com/apache/cordova-cli/pull/107

 Cordova does not return an error when you have a malformed .json file and 
 when you provide a -d
 -

 Key: CB-5613
 URL: https://issues.apache.org/jira/browse/CB-5613
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: JennyGee
Assignee: Josh Soref
Priority: Minor

 When you provide a malformed .json file, like below:
 id:webworks.default,name:WebWorks Application}
 And you just build it with no arguments you get this error:
 Parsing .cordova/config.json at line 1 col 1; Expected an assignment or 
 function call and instead saw an expression.
 But if you build it with a -d flag, you get an undefined. Which is even 
 less information.
  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5613) Cordova does not return an error when you have a malformed .json file and when you provide a -d

2013-12-09 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13843823#comment-13843823
 ] 

ASF subversion and git services commented on CB-5613:
-

Commit ec88d6af82a73964abc96e258d4d698c4f2825b9 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=ec88d6a ]

CB-5613 Never hide stack trace on uncaughtExceptions.

Uncaught exceptions are bugs, so stack traces are always helpful.


 Cordova does not return an error when you have a malformed .json file and 
 when you provide a -d
 -

 Key: CB-5613
 URL: https://issues.apache.org/jira/browse/CB-5613
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: JennyGee
Assignee: Josh Soref
Priority: Minor

 When you provide a malformed .json file, like below:
 id:webworks.default,name:WebWorks Application}
 And you just build it with no arguments you get this error:
 Parsing .cordova/config.json at line 1 col 1; Expected an assignment or 
 function call and instead saw an expression.
 But if you build it with a -d flag, you get an undefined. Which is even 
 less information.
  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5613) Cordova does not return an error when you have a malformed .json file and when you provide a -d

2013-12-09 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13843822#comment-13843822
 ] 

ASF subversion and git services commented on CB-5613:
-

Commit 3b184f4f010d9877e72ce9aaf216565ee54b772b in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=3b184f4 ]

CB-5613 use throw Error to include stack information for -d


 Cordova does not return an error when you have a malformed .json file and 
 when you provide a -d
 -

 Key: CB-5613
 URL: https://issues.apache.org/jira/browse/CB-5613
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: JennyGee
Assignee: Josh Soref
Priority: Minor

 When you provide a malformed .json file, like below:
 id:webworks.default,name:WebWorks Application}
 And you just build it with no arguments you get this error:
 Parsing .cordova/config.json at line 1 col 1; Expected an assignment or 
 function call and instead saw an expression.
 But if you build it with a -d flag, you get an undefined. Which is even 
 less information.
  



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)