1.0.3
This commit is contained in:
@@ -38,12 +38,14 @@ public class ErrorsVM:IEventHandler<ImageProcessedEvent>, IEventHandler<SessionS
|
|||||||
if(!@event.HasError)return;
|
if(!@event.HasError)return;
|
||||||
|
|
||||||
string additionalInfo = string.Empty;
|
string additionalInfo = string.Empty;
|
||||||
var errorShortName = _uiConfiguration.ErrorShortNames
|
|
||||||
.FirstOrDefault(x => x.FullName == @event.ErrorNames[0]);
|
|
||||||
|
|
||||||
if (errorShortName != null)
|
var errorShortNames = _uiConfiguration.ErrorShortNames
|
||||||
|
.Where(x => @event.ErrorNames.Contains(x.FullName))
|
||||||
|
.Select(x => x.ShortName);
|
||||||
|
|
||||||
|
if (errorShortNames.Any())
|
||||||
{
|
{
|
||||||
additionalInfo += " ,"+errorShortName.ShortName;
|
additionalInfo += " ," + errorShortNames.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
ErrorData errorData = new ErrorData
|
ErrorData errorData = new ErrorData
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<ApplicationIcon>Inspectron icon-512.ico</ApplicationIcon>
|
<ApplicationIcon>Inspectron icon-512.ico</ApplicationIcon>
|
||||||
<Deterministic>false</Deterministic>
|
<Deterministic>false</Deterministic>
|
||||||
<Version>1.0.2</Version>
|
<Version>1.0.3</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user