Skip to content

Commit

Permalink
return empty page on error getpage
Browse files Browse the repository at this point in the history
  • Loading branch information
geralexgr committed Oct 29, 2017
1 parent ca2d23f commit f40563c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Net.Facebook.Graph/NetGraphRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static async Task<Page> GetPageInfo(string url)
return JsonConvert.DeserializeObject<Page>(result);
}

catch (Exception) { return null; }
catch (Exception) { return new Page(); }
}

}
Expand Down

0 comments on commit f40563c

Please sign in to comment.