Report down error code #13

Open
hulihanapplications opened this Issue Feb 1, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@hulihanapplications

I think it would be really useful to report the error code for a failing host. For instance, if I defined a host like so...

class HttpOutpostExample < Outpost::Application
  using Outpost::Scouts::Http => "web page" do
    options :host => 'localhost'
    report :up, :response_code => 200
  end
end

The report would return...

Outpost::Scouts::Http: 'web page' is reporting down with an error code of 500 (Internal Server Error).

...or something. Sorry about all the feature requests, I'm just thinking of some things that could maybe make outpost more powerful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment