diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index a951cbe17d..5cefd1ab8e 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -310,12 +310,8 @@ public class Program return true; } - catch (Exception ex) + catch { - // TODO: Remove exception message before main merge?? - Console.WriteLine( - $"Unable to validate installation id. Problem contacting Bitwarden {cloudRegion.ToString()} server.\nError: {ex.Message}" - ); return false; } } diff --git a/util/Setup/SetupHostEnvironment.cs b/util/Setup/SetupHostEnvironment.cs deleted file mode 100644 index 97e088741a..0000000000 --- a/util/Setup/SetupHostEnvironment.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.Extensions.FileProviders; -using Microsoft.Extensions.Hosting; - -namespace Bit.Setup; - -internal class SetupHostEnvironment : IHostEnvironment -{ - public string ApplicationName { get; set; } = "Setup"; - public IFileProvider ContentRootFileProvider { get; set; } = new NullFileProvider(); - public string ContentRootPath { get; set; } = string.Empty; - public string EnvironmentName { get; set; } = "Production"; -}