Display the error code correctly for HTTPS errors

This commit is contained in:
Cameron Gutman 2020-04-18 17:47:27 -07:00
parent 9cd4d5e2aa
commit 73df93f86a

View File

@ -234,6 +234,10 @@ public class NvConnection {
return; return;
} }
context.connListener.stageComplete(appName); context.connListener.stageComplete(appName);
} catch (GfeHttpResponseException e) {
e.printStackTrace();
context.connListener.displayMessage(e.getMessage());
context.connListener.stageFailed(appName, e.getErrorCode());
} catch (XmlPullParserException | IOException e) { } catch (XmlPullParserException | IOException e) {
e.printStackTrace(); e.printStackTrace();
context.connListener.displayMessage(e.getMessage()); context.connListener.displayMessage(e.getMessage());