Skip to content

Commit

Permalink
fix exception description so it shows something in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Trass3r committed Jan 9, 2021
1 parent 1872c39 commit 0a95e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MIDebugEngine/AD7.Impl/AD7Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public AD7ExceptionEvent(string name, string description, uint code, Guid? excep
{
_name = name;
_code = code;
_description = description ?? name;
_description = string.IsNullOrEmpty(description) ? name : description;
_category = exceptionCategory ?? EngineConstants.EngineId;

switch (state)
Expand Down

0 comments on commit 0a95e6c

Please sign in to comment.