File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,20 +36,20 @@ export async function getVersion(): Promise<VersionResult | null> {
3636
3737export function validateVersionResult ( json : any ) : VersionResult | null {
3838 if ( typeof json !== "object" || json === null ) {
39- Sentry . captureMessage ( "Invalid version result" ) ;
39+ Sentry . captureMessage ( "Invalid version result" , "error" ) ;
4040 return null ;
4141 }
4242
4343 if ( typeof json . message !== "string" && json . message !== null ) {
44- Sentry . captureMessage ( "Invalid version.message result" ) ;
44+ Sentry . captureMessage ( "Invalid version.message result" , "error" ) ;
4545 return null ;
4646 }
4747
4848 if (
4949 typeof json . cursorRulesHash !== "string" &&
5050 json . cursorRulesHash !== null
5151 ) {
52- Sentry . captureMessage ( "Invalid version.cursorRulesHash result" ) ;
52+ Sentry . captureMessage ( "Invalid version.cursorRulesHash result" , "error" ) ;
5353 return null ;
5454 }
5555
You can’t perform that action at this time.
0 commit comments