We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 732e03b commit 8eacb79Copy full SHA for 8eacb79
1 file changed
src/github/githubRepository.ts
@@ -1491,9 +1491,10 @@ export class GitHubRepository extends Disposable {
1491
name: remote.repositoryName,
1492
number: number,
1493
},
1494
- }, true); // There's an issue with the GetChecks that can result in SAML errors.
+ });
1495
} catch (e) {
1496
- if (isSamlError(e.message)) {
+ // There's an issue with the GetChecks that can result in SAML errors.
1497
+ if (isSamlError(e)) {
1498
// There seems to be an issue with fetching status checks if you haven't SAML'd with every org you have
1499
// The issue is specifically with the CheckSuite property. Make the query again, but without that property.
1500
if (!captureUseFallbackChecks) {
0 commit comments