You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Integers divided by zero for some reason cause an error. Pasting a part of a transcript. Using the latest GitHub version of RavenPowerShell.psm1, and a recent Sentry instance.
It appears to be an encoding issue somehow, with what's transferred to Sentry.
PS C:\temp> try { 1 / 0 } catch { $RavenClient.CaptureException($_) }
PS C:\temp> TerminatingError(Invoke-RestMethod): "{"error":"Bad data decoding request (UnicodeDecodeError, 'utf8' codec can't decode byte 0xf8 in position 24: invalid start byte)"}"
Invoke-RestMethod : {"error":"Bad data decoding request (UnicodeDecodeError, 'utf8' codec can't decode byte 0xf8 in position 24: invalid start byte)"}
At C:\temp\RavenPowerShell.psm1:63 char:9
+ Invoke-RestMethod -Uri $this.storeUri -Method Post -Body $jso ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : {"error":"Bad data decoding request (UnicodeDecodeError, 'utf8' codec can't decode byte 0xf8 in position 24: invalid start byte)"}
At C:\temp\RavenPowerShell.psm1:63 char:9
+ Invoke-RestMethod -Uri $this.storeUri -Method Post -Body $jso ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
PS C:\temp> # hm...
PS C:\temp> try { $null[3] } catch { $RavenClient.CaptureException($_) }
PS C:\temp> try { $null[3] / 0 } catch { $RavenClient.CaptureException($_) }
PS C:\temp> # int divided by zero causes Raven to fail, what about decimal?
PS C:\temp> try { 1.1 / 0 } catch { $RavenClient.CaptureException($_) }
∞
PS C:\temp> # infinity, hm..
PS C:\temp> Stop-Transcript
The text was updated successfully, but these errors were encountered:
Hi. Integers divided by zero for some reason cause an error. Pasting a part of a transcript. Using the latest GitHub version of RavenPowerShell.psm1, and a recent Sentry instance.
It appears to be an encoding issue somehow, with what's transferred to Sentry.
The text was updated successfully, but these errors were encountered: