Skip to content

Commit

Permalink
add - Added message about inner exception no being found
Browse files Browse the repository at this point in the history
---

We've added an additional informational message about not having inner exception in the exception message.

---

Type: add
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jun 22, 2024
1 parent 2fe70ac commit bf2b670
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/Nitrocid/Kernel/Exceptions/KernelExceptionMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ internal static string GetFinalExceptionMessage(KernelExceptionType exceptionTyp
e = e.InnerException;
exceptionIndex++;
}
if (e is null)
builder.AppendLine("- " + Translate.DoTranslation("Additional errors were not found during the operation."));

builder.AppendLine();
builder.Append(Translate.DoTranslation("If you're sure that this error is unexpected, try to restart the kernel with debugging enabled and investigate the logs after retrying the action."));
Expand Down

0 comments on commit bf2b670

Please sign in to comment.