sockeye diagnosis, no actual production code changes
This commit is contained in:
@@ -43,7 +43,12 @@ namespace AyaNova
|
||||
return;
|
||||
}
|
||||
|
||||
#if(DEBUG)
|
||||
string sUrl = "https://sockeye.ayanova.com/fetch/" + sFetchCode + "/" + sEmail;
|
||||
//string sUrl = "http://192.168.1.253:7676/fetch/" + sFetchCode + "/" + sEmail;
|
||||
#else
|
||||
string sUrl = "https://rockfish.ayanova.com/fetch/" + sFetchCode + "/" + sEmail;
|
||||
#endif
|
||||
//string sUrl = "https://rockfish.gztechworks.com/fetch/" + sFetchCode + "/" + sEmail;
|
||||
//TODO: maybe alt url in case?? or fuck it wont' matter with v8 coming anyway
|
||||
|
||||
@@ -145,22 +150,22 @@ namespace AyaNova
|
||||
}
|
||||
catch (System.Net.WebException wex)
|
||||
{
|
||||
string s= wex.Message;
|
||||
if (s.Contains("404"))
|
||||
{
|
||||
MessageBox.Show("No license was found for the Fetch address and Fetch code provided.\r\n\r\n" +
|
||||
"This can happen if either address or code was entered incorrectly or \r\n" +
|
||||
"this can also happen if the key has already been fetched.\r\n\r\n" +
|
||||
"Check your entry and try again or contact us at support@ayanova.com", "License not found");
|
||||
string s = wex.Message;
|
||||
if (s.Contains("404"))
|
||||
{
|
||||
MessageBox.Show("No license was found for the Fetch address and Fetch code provided.\r\n\r\n" +
|
||||
"This can happen if either address or code was entered incorrectly or \r\n" +
|
||||
"this can also happen if the key has already been fetched.\r\n\r\n" +
|
||||
"Check your entry and try again or contact us at support@ayanova.com", "License not found");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
CopyableMessageBox m = new CopyableMessageBox("An unexpected network error occurred, please contact support@ayanova.com with these details:\r\n"+wex.Message);
|
||||
m.BringToFront();
|
||||
m.ShowDialog();
|
||||
m.Dispose();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
CopyableMessageBox m = new CopyableMessageBox("An unexpected network error occurred, please contact support@ayanova.com with these details:\r\n" + wex.Message);
|
||||
m.BringToFront();
|
||||
m.ShowDialog();
|
||||
m.Dispose();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user