diff --git a/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs b/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs index ce7bb3e2f..ac3d79fa3 100644 --- a/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs +++ b/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs @@ -92,7 +92,7 @@ namespace Duplicati.Library.Backend string authid; options.TryGetValue(AUTHID_OPTION, out authid); if (string.IsNullOrEmpty(authid)) - throw new UserInformationException(Strings.MicrosoftGraph.MissingAuthId(OAuthHelper.OAUTH_LOGIN_URL(this.ProtocolKey))); + throw new UserInformationException(Strings.MicrosoftGraph.MissingAuthId(OAuthHelper.OAUTH_LOGIN_URL(this.ProtocolKey)), "MicrosoftGraphBackendMissingAuthId"); string fragmentSizeStr; if (!(options.TryGetValue(UPLOAD_SESSION_FRAGMENT_SIZE_OPTION, out fragmentSizeStr) && int.TryParse(fragmentSizeStr, out this.fragmentSize))) diff --git a/Duplicati/Library/Backend/OneDrive/MicrosoftGroup.cs b/Duplicati/Library/Backend/OneDrive/MicrosoftGroup.cs index 20916fd8a..60318077c 100644 --- a/Duplicati/Library/Backend/OneDrive/MicrosoftGroup.cs +++ b/Duplicati/Library/Backend/OneDrive/MicrosoftGroup.cs @@ -22,7 +22,7 @@ namespace Duplicati.Library.Backend } else { - throw new UserInformationException(Strings.MicrosoftGroup.MissingGroupId); + throw new UserInformationException(Strings.MicrosoftGroup.MissingGroupId, "MicrosoftGroupMissingGroupId"); } } diff --git a/Duplicati/Library/Backend/OneDrive/SharePointV2.cs b/Duplicati/Library/Backend/OneDrive/SharePointV2.cs index b2f40aee0..6fe94fb42 100644 --- a/Duplicati/Library/Backend/OneDrive/SharePointV2.cs +++ b/Duplicati/Library/Backend/OneDrive/SharePointV2.cs @@ -22,7 +22,7 @@ namespace Duplicati.Library.Backend } else { - throw new UserInformationException(Strings.SharePointV2.MissingSiteId); + throw new UserInformationException(Strings.SharePointV2.MissingSiteId, "SharePointMissingSiteId"); } }