sockeye diagnosis, no actual production code changes

This commit is contained in:
2023-02-16 23:22:09 +00:00
parent 1ac71ccdcf
commit 5789b3658a

View File

@@ -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,7 +150,7 @@ 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" +
@@ -156,7 +161,7 @@ namespace AyaNova
} }
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();