{ "id": "175379", "key": "TIMOB-28053", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2020-07-27T14:48:41.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "21039", "name": "Release 9.0.3", "archived": false, "released": true, "releaseDate": "2020-06-10" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-07-30T02:30:48.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Ti.API.info() not parsing the error message correctly and displaying to json instead\r\n\r\nSample;\r\n{noformat}\r\n\ttry {\r\n\t\tthrow new Error('things');\r\n\t} catch (error) {\r\n\t\tTi.API.info(error);\r\n\t}\r\n{noformat}\r\n\r\nExpected;\r\n{noformat}\r\n[INFO] Error: things\r\n[INFO] at doClick (alloy/controllers/index.js:56:22)\r\n{noformat}\r\n\r\nActual;\r\n{noformat}\r\n[INFO] {\r\n[INFO] toJSON = {\r\n[INFO] };\r\n[INFO] }\r\n{noformat}\r\n\r\n ", "attachment": [], "flagged": false, "summary": "iOS: Ti.API.info() not displaying errors correctly", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Appc SDK: 9.0.3.GA\r\nAppc NPM: 5.0.0\r\nAppc CLI: 8.0.0\r\nXcode: 11.6\r\nNode: 12.18.1\r\nNPM: 6.14.5", "comment": { "comments": [ { "id": "456250", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jlongton] Was it working, as expected, in any previous SDK?", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-27T22:28:13.000+0000", "updated": "2020-07-27T22:28:13.000+0000" }, { "id": "456253", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Not from what I was able to test, I would expect it to work the same as {{console.log()}}\r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2020-07-28T12:43:15.000+0000", "updated": "2020-07-28T12:43:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }