activebridge / projectr

11 stars 1 forks source link

Octokit::NotFound: GET https://api.github.com/repos/glomex/enigma-php/hooks?per_page=100: 404 - Not Found // See: https://developer.github.com/v3 #45

Open YaroslavTupytskyi opened 8 years ago

YaroslavTupytskyi commented 8 years ago

View details in Rollbar: https://rollbar.com/yaroslavtupitskyi/ProjectR/items/8/


Octokit::NotFound: GET https://api.github.com/repos/glomex/enigma-php/hooks?per_page=100: 404 - Not Found // See: https://developer.github.com/v3
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/response/raise_error.rb", line 16, in on_complete
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb", line 9, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb", line 57, in on_complete
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb", line 8, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/middleware/follow_redirects.rb", line 73, in perform_with_redirection
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/middleware/follow_redirects.rb", line 61, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb", line 139, in build_response
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb", line 377, in run_request
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb", line 140, in get
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sawyer-0.7.0/lib/sawyer/agent.rb", line 94, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/connection.rb", line 154, in request
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/connection.rb", line 84, in paginate
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/client/hooks.rb", line 27, in hooks
  File "/home/deploy/releases/20161020080059/app/models/repo.rb", line 42, in github_hooks
  File "/home/deploy/releases/20161020080059/app/models/repo.rb", line 54, in hook_url
  File "/home/deploy/releases/20161020080059/app/models/repo.rb", line 21, in init_project
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 382, in block in make_lambda
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 207, in block in halting_and_conditional
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 456, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 456, in each
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 456, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 101, in __run_callbacks__
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 750, in _run_create_callbacks
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/callbacks.rb", line 302, in _create_record
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/timestamp.rb", line 68, in _create_record
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/persistence.rb", line 534, in create_or_update
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/callbacks.rb", line 298, in block in create_or_update
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 126, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 506, in block (2 levels) in compile
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 455, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 101, in __run_callbacks__
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 750, in _run_save_callbacks
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/callbacks.rb", line 298, in create_or_update
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/persistence.rb", line 125, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/validations.rb", line 44, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/attribute_methods/dirty.rb", line 22, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 319, in block (2 levels) in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 395, in block in with_transaction_returning_status
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb", line 232, in block in transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/transaction.rb", line 189, in within_new_transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb", line 232, in transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 211, in transaction
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 392, in with_transaction_returning_status
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 319, in block in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 334, in rollback_active_record_state!
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/transactions.rb", line 318, in save
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.0/lib/active_record/suppressor.rb", line 41, in save
  File "/home/deploy/releases/20161020080059/app/controllers/projects_controller.rb", line 14, in create
  File "/home/deploy/releases/20161020080059/app/controllers/projects_controller.rb", line 36, in check_repo
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 382, in block in make_lambda
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0/lib/active_support/callbacks.rb", line 150, in block (2 levels) in halting_and_conditional
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0/lib/abstract_controller/callback