Archived
Changed app name
This commit is contained in:
1 parent
847accc213
commit
06ab54cf9a
10 files changed
+383
-307
No files matched your search
+17
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user