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

Investigate exception error when saving Job without associated repo #20

Open
tallysmartins opened this issue May 26, 2018 · 0 comments
Open

Comments

@tallysmartins
Copy link
Member

Steps to reproduce:

  1. Try to create a job without a repository associated.

elixir

ElixirBench.Benchmarks.create_job(%ElixirBench.Repos.Repo{}, %{branch_name: "mm/benche", commit_sha: "ABC123"})
  1. This raises a Postgrex.Error exception, but should return {:error, reason} requiring a valid repo_id to create the Job
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