Skip to content

feat: deliver real Exception instances to targets via LogException - #41

Merged
imurashka merged 7 commits into
mainfrom
imurashka/target-exceptions
Jun 29, 2026
Merged

feat: deliver real Exception instances to targets via LogException#41
imurashka merged 7 commits into
mainfrom
imurashka/target-exceptions

Conversation

@imurashka

Copy link
Copy Markdown
Contributor

Exceptions are now their own delivery flow, separate from logs. Targets gain an abstract LogException(Exception) and receive the real managed instance (captured in UnityLogger.LogException, which fires for both uncaught Unity exceptions and explicit Debug.LogException/ULogger.LogException), so a Crashlytics-style target can call Crashlytics.LogException(ex) directly. LogLevel.Exception is removed (an exception is a kind, not a severity; it carries Error); exceptions bypass tag-filter and formatter and ride the same single-writer queue as logs. All 27 EditMode tests pass; package, Lab, Editor and Tests compile clean across the define matrix.

@imurashka
imurashka force-pushed the imurashka/target-exceptions branch 2 times, most recently from 2eb0bb6 to 1400e15 Compare June 29, 2026 17:52
@imurashka
imurashka merged commit f614879 into main Jun 29, 2026
2 checks passed
@imurashka
imurashka deleted the imurashka/target-exceptions branch June 29, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant