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

"RuntimeError: Unhandled source type" with icomplete GitHub URL #967

Open
sentry-io bot opened this issue Jan 28, 2021 · 0 comments
Open

"RuntimeError: Unhandled source type" with icomplete GitHub URL #967

sentry-io bot opened this issue Jan 28, 2021 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 28, 2021

When a user attempted to create a new GitHub project source with url: github.com/<org>/<repo> this error was generated and there was no feedback. The complete URL https://github.com/<org>/<repo> does work.

Sentry Issue: HUB-15H

RuntimeError: Unhandled source type: 
  File "rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "projects/api/views/sources.py", line 238, in create
    return super().create(request, *args, **kwargs)
  File "manager/api/helpers.py", line 130, in create
    serializer = self.get_serializer(data=request.data)
  File "rest_framework/generics.py", line 108, in get_serializer
    serializer_class = self.get_serializer_class()
  File "projects/api/views/sources.py", line 127, in get_serializer_class
    raise RuntimeError(
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

No branches or pull requests

1 participant