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
Copy file name to clipboardExpand all lines: src/commands/scan/fetch-report-data.mts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -127,15 +127,15 @@ export async function fetchReportData(
127
127
return{
128
128
ok: falseasconst,
129
129
message: 'Unexpected API problem',
130
-
cause: `We encountered an unexpected problem while requesting the Scan from the API: ${e?.message||'(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}'}`
130
+
cause: `We encountered an unexpected problem while requesting the Scan from the API: ${e?.message||'(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}`
131
131
}
132
132
}),
133
133
fetchSecurityPolicy().catch(e=>{
134
134
updatePolicy(`failure; unknown blocking problem occurred`)
135
135
return{
136
136
ok: falseasconst,
137
137
message: 'Unexpected API problem',
138
-
cause: `We encountered an unexpected problem while requesting the policy from the API: ${e?.message||'(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}'}`
138
+
cause: `We encountered an unexpected problem while requesting the policy from the API: ${e?.message||'(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}`
0 commit comments