wabbajack/Wabbajack.Test/MetricsTests.cs
Timothy Baldridge c0d50a8216 Version 2.4.2.0
2021-02-03 20:48:30 -07:00

25 lines
460 B
C#

using System;
using System.Threading.Tasks;
using Wabbajack.Lib;
using Xunit;
namespace Wabbajack.Test
{
public class MetricsTests
{
[Fact]
public async Task CanSendExceptions()
{
try
{
throw new Exception("Test Exception");
}
catch (Exception ex)
{
await Metrics.Error(this.GetType(), ex);
}
}
}
}