diff --git a/BitPaySetup/Program.cs b/BitPaySetup/Program.cs index a61fa8a..176a9a1 100644 --- a/BitPaySetup/Program.cs +++ b/BitPaySetup/Program.cs @@ -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; }