Changed app name

This commit is contained in:
Ray committed 2024-07-19 21:22:24 +01:00
1 parent 847accc213
commit 06ab54cf9a
10 files changed
+383 -307

No files matched your search

+17 -1
View File
@@ -74,12 +74,28 @@ namespace BookmarkManager.Services
return null;
}
if (response == null)
{
return null;
}
if (response.StatusCode != HttpStatusCode.OK)
{
return null;
}
var sourceCode = await response?.Content?.ReadAsStringAsync();
var sourceCode = "";
try
{
sourceCode = await response?.Content?.ReadAsStringAsync();
}
catch (Exception)
{
// do nothing
}
if (string.IsNullOrWhiteSpace(sourceCode))
{
return null;