Skip to content

Commit

Permalink
Simplified error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cupcak3 committed Feb 2, 2024
1 parent 6d48bb1 commit f305e87
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
4 changes: 2 additions & 2 deletions InventoryKamera/InventoryKamera.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>embedded</DebugType>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
Expand All @@ -62,7 +62,7 @@
<RunCodeAnalysis>false</RunCodeAnalysis>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<PropertyGroup Label="Normalise stack trace file locations" Condition="$(BuildingInsideVisualStudio) != 'true'">
<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=X:\</PathMap>
Expand Down
57 changes: 29 additions & 28 deletions InventoryKamera/ui/main/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion InventoryKamera/ui/main/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private void StartButton_Clicked(object sender, EventArgs e)
}
catch (NotImplementedException ex)
{
UserInterface.AddError(ex.Message);
UserInterface.AddError(ex.ToString());
}
catch (Exception ex)
{
Expand Down

0 comments on commit f305e87

Please sign in to comment.