Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show error type and message #6

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

romeroyonatan
Copy link
Contributor

Issue

pr-commenter is failing with the generic message

Repo or PR not found
Usage:
  pr-commenter (-h | --help)
  pr-commenter <repo> <pr> [<file>...] [--template=<template>] [--build=<build>] [--append] [--token=<token>] [--label=<label>...] [--debug]

Solution

Show the error type and error message to diagnose the issue

@romeroyonatan romeroyonatan force-pushed the romeroyonatan/show-error branch from cfecec3 to 331f47a Compare February 28, 2025 14:59
@mgaitan mgaitan merged commit 776b169 into Shiphero:main Feb 28, 2025
6 checks passed
romeroyonatan added a commit to romeroyonatan/pr-commenter that referenced this pull request Feb 28, 2025
Changes:
- Shiphero#6 Show error type and message instead of generic "PR not found"
- Shiphero#7 Drop support to Python 3.7. Add support to Python 3.12
@romeroyonatan romeroyonatan mentioned this pull request Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants