diff --git a/lib/EAPBase_UI/include/EAP_UI.h b/lib/EAPBase_UI/include/EAP_UI.h index f2c5405..8927d61 100644 --- a/lib/EAPBase_UI/include/EAP_UI.h +++ b/lib/EAPBase_UI/include/EAP_UI.h @@ -432,7 +432,8 @@ protected: try { m_cred.retrieve(m_target.c_str()); } catch (winstd::win_runtime_error &err) { - wxLogError(winstd::tstring_printf(_("Error reading credentials from Credential Manager: %hs (error %u)"), err.what(), err.number()).c_str()); + if (err.number() != ERROR_NOT_FOUND) + wxLogError(winstd::tstring_printf(_("Error reading credentials from Credential Manager: %hs (error %u)"), err.what(), err.number()).c_str()); } catch (...) { wxLogError(_("Reading credentials failed.")); }