RocketChat / Apps.Github22

The ultimate AI-powered app extending Rocket.Chat for global developers collaborating on Github (2024 and beyond)
33 stars 39 forks source link

Application Crashing on entering wrong pull request number #93

Open ayush3160 opened 1 year ago

ayush3160 commented 1 year ago

Description:

Application is crashing when entering wrong pull request number to view the Pull request Details modal. If a user is entering wrong pull request number or invalid pull request in the /github Username/RepositoryName pulls pullNumber command then the Rocket.Chat server is crashing.

Steps to reproduce:

  1. Enter the command /github Username/RepositoryName pulls pullNumber with some wrong PR number.
  2. Notice application is crashing

Expected behavior:

A invalid-message modal should open in case of any wrong input.

Additional context

https://user-images.githubusercontent.com/89914602/229296282-0b8a0c66-8776-42ec-bb18-e10d3411c60f.mp4