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