Skip to content

Commit

Permalink
cleaned up debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
yko committed Jul 13, 2011
1 parent 1ee512d commit a2cdef8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Monitis.pm
Expand Up @@ -120,7 +120,7 @@ sub api_get {
my $response = $self->ua->request($request);

warn "GET<\n" if DEBUG;
warn $response->decoded_content if DEBUG;
warn $response->decoded_content . "\n" if DEBUG;

$self->parse_response($response);

Expand All @@ -131,12 +131,12 @@ sub api_post {
my $request = $self->build_post_request(@_);

warn "POST>\n" if DEBUG;
warn $request->as_string if DEBUG;
warn $request->as_string . "\n" if DEBUG;

my $response = $self->ua->request($request);

warn "POST<\n" if DEBUG;
warn $response->decoded_content if DEBUG;
warn $response->decoded_content . "\n" if DEBUG;

$self->parse_response($response);
}
Expand Down

0 comments on commit a2cdef8

Please sign in to comment.