mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
25 lines
460 B
C#
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);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|