pebble/pebble-tool

Unable to determine cause of "App install failed."

jordonbiondo opened this issue · 1 comments

When app installation fails, only "App install failed" is logged. In my case, I was using the Pebble app instead of the Pebble Time app which caused the failure, however, there was no way for me to know why it failed.

if result.status != WebSocketInstallStatus.StatusCode.Success:

If there is more information on the result object or elsewhere that could be logged for debugging purposes that would be very helpful.

I also wonder if there is a way for the pebble tool to check for this scenario specifically and tell the user they are using the wrong app.

The only other possible value is "Failure"; unfortunately, no useful information is reported.

We could probably check for that particular scenario, though.