mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-02-20 10:00 am

[dw-free] Allow raw errors to be shown in beta, without making the site a dev server

[commit: http://hg.dwscoalition.org/dw-free/rev/3db4b56af107]

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

Enable raw errors for beta sites.

Patch by [personal profile] afuna.

--------------------------------------------------------------------------------
diff -r 10d5f9809424 -r 3db4b56af107 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Fri Feb 20 09:56:57 2009 +0000
+++ b/cgi-bin/LJ/User.pm	Fri Feb 20 10:00:14 2009 +0000
@@ -4218,6 +4218,7 @@ sub show_raw_errors {
     my $u = shift;
 
     return 1 if $LJ::IS_DEV_SERVER;
+    return 1 if $LJ::ENABLE_BETA_TOOLS;
 
     return 1 if LJ::check_priv($u, "supporthelp");
     return 1 if LJ::check_priv($u, "supportviewscreened");
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org