Discovered in: #759
Cause: An exception is raised when querying the users with permissions on a project, if the current user accessing the API doesn't have any permission themselves. However the current implementation checks generic GitHub exception which can lead to catching also other kind of errors, e.g. 50x
|
except github.GithubException: |
|
logger.debug( |
|
"Current Github token must have push access to view repository permissions." |
|
) |
|
return set() |
Discovered in: #759
Cause: An exception is raised when querying the users with permissions on a project, if the current user accessing the API doesn't have any permission themselves. However the current implementation checks generic GitHub exception which can lead to catching also other kind of errors, e.g. 50x
ogr/ogr/services/github/project.py
Lines 210 to 214 in 6e3e246