kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2011-01-21 01:21 pm

[dw-free] Logging in from the control strip causes warnings in the logs

[commit: http://hg.dwscoalition.org/dw-free/rev/6bef8e28b060]

http://bugs.dwscoalition.org/show_bug.cgi?id=3348

Clarify dev warning for invalid domain cookie.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Session.pm
--------------------------------------------------------------------------------
diff -r e78fc8bfbcda -r 6bef8e28b060 cgi-bin/LJ/Session.pm
--- a/cgi-bin/LJ/Session.pm	Fri Jan 21 15:35:44 2011 +0800
+++ b/cgi-bin/LJ/Session.pm	Fri Jan 21 07:21:05 2011 -0600
@@ -523,7 +523,7 @@ sub session_from_domain_cookie {
 
     my $no_session = sub {
         my $reason = shift;
-        warn "No session found: $reason\n" if $LJ::IS_DEV_SERVER;
+        warn "No session found for domain cookie: $reason\n" if $LJ::IS_DEV_SERVER;
 
         my $rr = $opts->{redirect_ref};
         $$rr = "$LJ::SITEROOT/misc/get_domain_session?return=" . LJ::eurl(_current_url()) if $rr;
--------------------------------------------------------------------------------