-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(Revit): Better reporting of critical errors in Revit (#2771)
* better error reporting * remove unused code * Included exception in logs + ensured stack trace from error eater * Added non user facing speckle exception --------- Co-authored-by: Connor Ivy <[email protected]> Co-authored-by: Jedd Morgan <[email protected]>
- Loading branch information
1 parent
d165793
commit 956afcb
Showing
6 changed files
with
130 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#nullable enable | ||
using System; | ||
|
||
namespace Speckle.Core.Logging; | ||
|
||
/// <summary> | ||
/// These are exceptions who's message is not user friendly | ||
/// </summary> | ||
public class SpeckleNonUserFacingException : SpeckleException | ||
{ | ||
public SpeckleNonUserFacingException() { } | ||
|
||
public SpeckleNonUserFacingException(string? message) : base(message) { } | ||
|
||
public SpeckleNonUserFacingException(string? message, Exception? innerException) : base(message, innerException) { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters