Skip to content

Commit 35cc59c

Browse files
committed
Error dialog can now be hidden
1 parent ce3158f commit 35cc59c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Coderr.Client.WinForms/Coderr.Client.WinForms.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net451</TargetFramework>
4-
<Version>1.1.0.0</Version>
4+
<Version>1.1.1.0</Version>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<RootNamespace>Coderr.Client.WinForms</RootNamespace>
77
<DocumentationFile>bin\$(Configuration)\$(Platform)\Coderr.Client.WinForms.xml</DocumentationFile>
88
</PropertyGroup>
99

1010
<PropertyGroup>
11-
<PackageReleaseNotes>Changed namespaces and corrected a dialog bug</PackageReleaseNotes>
11+
<PackageReleaseNotes>Error dialog can now be hidden.</PackageReleaseNotes>
1212
<PackageId>Coderr.Client.WinForms</PackageId>
1313
<Authors>1TCompany AB</Authors>
1414
<Description>Automated exception handling for WinForms-based applications</Description>

src/Coderr.Client.WinForms/WinformsErrorReporter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ private static void OnException(object sender, ThreadExceptionEventArgs e)
4747
&& !Err.Configuration.UserInteraction.AskUserForPermission)
4848
{
4949
Err.UploadReport(dto);
50+
return;
5051
}
5152

5253
if (!Err.Configuration.UserInteraction.AskUserForPermission)

0 commit comments

Comments
 (0)