Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23895] Windows: Improve error message when building to wp-device and no devices are connected

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusResolved
ResolutionFixed
Resolution Date2016-09-28T15:11:33.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sn/a
ComponentsWindows
LabelsWindows, qe-6.0.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-09-12T15:14:59.000+0000
Updated2016-09-28T15:11:33.000+0000

Description

Description

When building for Windows an there are no devices connected the build will fail with the below, compared to Android this could be improved
2016-09-12T13:16:41.219Z | ERROR  | An uncaught exception was thrown!
No Windows Phone devices found
2016-09-12T13:16:41.221Z | ERROR  | No Windows Phone devices found
[ERROR] Unable to find any devices

Please plug in an Android device, then try again.

Steps to reproduce

Make sure you have no devices connected

Build using appc run -p windows -T wp-device

Actual result

The error message above is output

Expected result

A more helpful and nicer message should be output

Comments

  1. Kota Iguchi 2016-09-16

    https://github.com/appcelerator/titanium_mobile_windows/pull/871

JSON Source