Skip to content

Commit

Permalink
Reformatting of debug warning
Browse files Browse the repository at this point in the history
  • Loading branch information
scytrin committed Jun 28, 2008
1 parent 7523300 commit d79bf8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rack/session/memcache.rb
Expand Up @@ -82,7 +82,8 @@ def set_session(env, sid)
end
s.each do |k,v|
next unless o.has_key?(k) and v != o[k]
warn "session value assignment collision at #{k}: #{o[k]} <- #{v}"
warn "session value assignment collision at #{k.inspect}:"+
"\n\t#{o[k].inspect}\n\t#{v.inspect}"
end if $DEBUG and env['rack.multithread']
return true
rescue MemCache::MemCacheError, Errno::ECONNREFUSED # MemCache server cannot be contacted
Expand Down

0 comments on commit d79bf8e

Please sign in to comment.