qol: remove exceptionless

This commit is contained in:
Gary Sharp
2022-02-18 13:57:42 +11:00
parent 09a6369693
commit 3e7db6b552
17 changed files with 40 additions and 89 deletions
@@ -6,7 +6,6 @@ using Disco.Services.Documents;
using Disco.Services.Expressions;
using Disco.Services.Interop.ActiveDirectory;
using Disco.Services.Users;
using Exceptionless;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -36,7 +35,6 @@ namespace Disco.Services
}
catch (Exception ex)
{
ex.ToExceptionless().AddObject(deviceProfile.ComputerNameTemplate, "ComputerNameTemplate").Submit();
throw new InvalidOperationException(string.Format("An error occurred rendering the computer name: [{0}] {1}", ex.GetType().Name, ex.Message), ex.InnerException);
}
if (rendered == null || rendered.Length > 24)