Skip to content

Powershell Errors Are Not Being Reported #49

Closed
@ReneGreen27

Description

@ReneGreen27

Production environment
Windows 32

User cannot send an event via powershell project. They've tried on 3 different devices, checked that the DSN is correct. All sampling is at 1.0 and no explicit errors in their output logs other than a generic

"PS C:\WINDOWS\system32> "Something went wrong" | Out-Sentry"

Project is able to receive events successfully when sending events directly to the API rather than using powershell.

Steps to Reproduce

Send event via powershell exactly as directed in our documentation: https://docs.sentry.io/platforms/powershell/

try
{
    throw 'Test error'
}
catch
{
    $_ | Out-Sentry
}

Expected Result

Test error event to be successfully sent and received

Actual Result

No error event received

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions