Skip to content

Commit

Permalink
fixed error_user_msg
Browse files Browse the repository at this point in the history
  • Loading branch information
prabirshrestha committed Apr 17, 2015
1 parent 54ea1ce commit bc239f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Facebook/FacebookClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ internal static Exception GetException(HttpHelper httpHelper, object result)
errorUserTitle = (string)error["error_user_title"];

string errorUserMsg = null;
if (error.ContainsKey("error_user_title"))
errorUserMsg = (string)error["error_user_title"];
if (error.ContainsKey("error_user_msg"))
errorUserMsg = (string)error["error_user_msg"];

// Check to make sure the correct data is in the response
if (!string.IsNullOrEmpty(errorType) && !string.IsNullOrEmpty(errorMessage))
Expand Down

0 comments on commit bc239f6

Please sign in to comment.