You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
630 B
C#
27 lines
630 B
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using BuildAgent.Run;
|
|
using BuildAgent.Run.Interfaces;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BuildAgent.Matchers
|
|
{
|
|
[AutoRegister]
|
|
class ExceptionErrorMatcher : IErrorMatcher
|
|
{
|
|
public ErrorMatch Match(ReadOnlyLineBuffer Input)
|
|
{
|
|
if (Input.IsMatch(@"^\s*Unhandled Exception: "))
|
|
{
|
|
int MaxOffset = Input.MatchForwards(0, @"^\s*at ");
|
|
return new ErrorMatch(ErrorSeverity.Error, ErrorPriority.Low, "Exception", Input, 0, MaxOffset);
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
}
|