Skip to content

Commit

Permalink
#v3.2.1912.0-rc - Check correct exception for "object not found" (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
intoccabil authored and Antonio Buedo committed Dec 19, 2019
1 parent 2177531 commit 41ccdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BitPaySetup/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ private static bool TestTokenSuccess(string facade)
}
catch (Exception e)
{
if (e.Message.ToLower().Contains("object not found"))
if (e.InnerException.Message.ToLower().Contains("object not found"))
{
return true;
}
Expand Down

0 comments on commit 41ccdd9

Please sign in to comment.