Skip to content

PowerShell SDK not sending events unless I include the debug param when running start-sentry #72

Closed
@bwya77

Description

@bwya77

I am unable to send events to Sentry unless I include the -debug param when running start-sentry.
So this works:

Start-Sentry -Debug -DSN "URL"
"test" | out-sentry

but this will not work:

Start-Sentry -DSN "URL"
"test" | out-sentry

This is happening on macOS and Windows devices running pwsh 7.4 and 7.2. I am able to send an alert using the cli on the same macOS machine.

No verbose errors, I just get the following output:
00000000000000000000000000000000

MacOS

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Darwin 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 19:00:33 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8122
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Windows

PSVersion                      7.2.24
PSEdition                      Core
GitCommitId                    7.2.24
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0.}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Running version 0.2.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions