minor ui fixes (#668)

* remove unused package

* fix controller name

* catch and ignore jsruntime exceptions

* separate debug stage from public stage
This commit is contained in:
Jason Dove
2022-03-02 20:45:07 -06:00
committed by GitHub
parent 24ef5e68eb
commit 2058c44949
8 changed files with 59 additions and 17 deletions
+5 -3
View File
@@ -4,7 +4,6 @@ using System.IO;
using System.Reflection;
using System.Text;
using System.Threading.Channels;
using Blazored.LocalStorage;
using Bugsnag.AspNet.Core;
using Dapper;
using ErsatzTV.Application;
@@ -94,10 +93,14 @@ namespace ErsatzTV
?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
?.InformationalVersion ?? "unknown";
configuration.NotifyReleaseStages = new[] { "public" };
configuration.NotifyReleaseStages = new[] { "public", "develop" };
#if DEBUG
configuration.ReleaseStage = "develop";
#else
// effectively "disable" by tweaking app config
configuration.ReleaseStage = bugsnagConfig.Enable ? "public" : "private";
#endif
});
services.AddCors(
@@ -139,7 +142,6 @@ namespace ErsatzTV
services.AddMudServices();
services.AddCourier(Assembly.GetAssembly(typeof(LibraryScanProgress)));
services.AddBlazoredLocalStorage();
Console.OutputEncoding = Encoding.UTF8;