Skip to content

Commit

Permalink
Fixed log error
Browse files Browse the repository at this point in the history
  • Loading branch information
b committed Jan 15, 2010
1 parent 5d603f8 commit 59e7def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bertrem.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Benjamin Black"]
s.date = %q{2010-01-11}
s.date = %q{2010-01-14}
s.email = %q{b@b3k.us}
s.extra_rdoc_files = [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion lib/bertrem/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def receive_data(bert_request)
raise BERTRPC::ProtocolError.new(BERTRPC::ProtocolError::NO_HEADER)
end
rescue Exception => e
log "Bad BERT message: #{e.message}"
Server.log.error("Bad BERT message: #{e.message}")
next
end
end
Expand Down

0 comments on commit 59e7def

Please sign in to comment.