wabbajack/Wabbajack.Test/MetricsTests.cs

25 lines
460 B
C#
Raw Normal View History

2021-02-04 03:48:30 +00:00
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);
}
}
}
}