Skip to content

Commit 13a445e

Browse files
authored
fix: exception logs (#81)
* fix: diagnostic logging of exceptions * chore: changelog
1 parent 1ba210a commit 13a445e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Fixes
1010

1111
- Attachments support regression introduced in v0.2.0 ([#80](https://github.com/getsentry/sentry-powershell/pull/80))
12+
- Diagnostic logs: exceptions didn't have full context ([#81](https://github.com/getsentry/sentry-powershell/pull/81))
1213

1314
### Features
1415

modules/Sentry/private/DiagnosticLogger.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DiagnosticLogger : Sentry.Extensibility.IDiagnosticLogger
2828
if ($null -ne $exception)
2929
{
3030
$message += [Environment]::NewLine
31-
$message += $exception | Format-Table | Out-String
31+
$message += $exception | Out-String
3232
}
3333

3434
switch ($level)

0 commit comments

Comments
 (0)