Skip to content

Commit

Permalink
log external content API queries
Browse files Browse the repository at this point in the history
  • Loading branch information
robdiciuccio committed Jul 20, 2011
1 parent 745e0e3 commit b5594a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/external_content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def self.query title, text, topics_data, args = {}
begin
Thread.current[:api] = api # For debug
Thread.current[:content_types] = {}
logger.info "*** EXTERNAL CONTENT API QUERY [" + Time.now.to_s + "] " + thread_api.name
query = thread_api.query(
:title => title,
:text => text,
Expand Down

0 comments on commit b5594a7

Please sign in to comment.