Oppfinnaren / sentry-powershell

PowerShell client for sentry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

SentryPowershell is a PowerShell client for sentry.io

Installation

Install-Module SentryPowershell

Usage

Import-Module SentryPowershell

$sentry = New-Sentry -SentryDsn 'https://mysentrydsn'

try {
    $null[5] = 0
} catch {
    $sentry.CaptureException($_)
}

AND/OR

Import-Module SentryPowershell

$client = New-Sentry -SentryDsn 'https://mysentrydsn'

trap {
    $client.CaptureException($_)
    break
}

$null[1000] = $true

About

PowerShell client for sentry.io

License:MIT License


Languages

Language:PowerShell 100.0%