timon-michel-scopevisio / SentryPowerShell

PowerShell client for sentry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

RavenPowerShell is a PowerShell client for sentry.io

Installation

Install-Module RavenPowerShell

Usage

Import-Module RavenPowerShell

$ravenClient = New-RavenClient -SentryDsn 'https://mysentrydsn'

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

AND/OR

Import-Module RavenPowerShell

$ravenClient = New-RavenClient -SentryDsn 'https://mysentrydsn'

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

$null[1000] = $true

About

PowerShell client for sentry.io

License:MIT License


Languages

Language:PowerShell 100.0%