Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Pager Duty task busted #31

Open
stuliston opened this issue Jun 28, 2013 · 0 comments
Open

Pager Duty task busted #31

stuliston opened this issue Jun 28, 2013 · 0 comments

Comments

@stuliston
Copy link
Collaborator

Mike noticed he wasn't getting points. Looks like we need to check our api key and username:

[14:28:27][~/work/places] (master)$ heroku run thor pager_duty_integration:check_for_incidents production [key] hooroo --app thequickening
Running `thor pager_duty_integration:check_for_incidents production [key] hooroo` attached to terminal... up, run.6695
/app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!': 401 Unauthorized (RestClient::Unauthorized)
    from /app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
    from /app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'
    from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:852:in `start'
    from /app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'
    from /app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
    from /app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
    from /app/vendor/bundle/ruby/2.0.0/gems/rest-client-1.6.7/lib/restclient.rb:72:in `post'
    from /app/lib/tasks/pager_duty.thor:16:in `block in check_for_incidents'
    from /app/lib/tasks/pager_duty.thor:15:in `each'
    from /app/lib/tasks/pager_duty.thor:15:in `check_for_incidents'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/runner.rb:36:in `method_missing'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:29:in `run'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:128:in `run'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /app/vendor/bundle/ruby/2.0.0/gems/thor-0.18.1/bin/thor:6:in `<top (required)>'
    from /app/bin/thor:23:in `load'
    from /app/bin/thor:23:in `<main>'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant