Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
chore: improved debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed May 23, 2024
1 parent f2d59df commit ceb6d6e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/helpers/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,11 @@ export async function isUserAdminOrBillingManager(
console.trace(membership);
return membership.role === "billing_manager";
} catch (e) {
context.logger.error("Could not get the Billing Manager from membership", e)
return false
context.logger.error(
`Could not get the Billing Manager status for ${payload.repository.owner.login} within ${payload.organization.login}`,
e
);
return false;
}
}
}
Expand Down

0 comments on commit ceb6d6e

Please sign in to comment.