From 2cddf6932216467bae691247d0ca3abb3295486f Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 30 Dec 2020 21:34:56 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs b/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs index da3c842ff..041e1c138 100644 --- a/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs +++ b/ArchiSteamFarm.CustomPlugins.ExamplePlugin/CatController.cs @@ -40,7 +40,7 @@ namespace ArchiSteamFarm.CustomPlugins.ExamplePlugin { [ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.ServiceUnavailable)] public async Task> CatGet() { if (ASF.WebBrowser == null) { - throw new ArgumentNullException(nameof(ASF.WebBrowser)); + throw new InvalidOperationException(nameof(ASF.WebBrowser)); } string? link = await CatAPI.GetRandomCatURL(ASF.WebBrowser).ConfigureAwait(false);