<NME> error.aspx
<BEF> ﻿<%@ Page Language="c#" AutoEventWireup="True" Inherits="YAF.Error" CodeBehind="error.aspx.cs" %>

<!doctype html>
<html lang="en">
   <head runat="server">
       <meta charset="utf-8">
       <title>Forum Error</title>
       <meta name="viewport" content="width=device-width, initial-scale=1.0">
       <link href="~/Content/Themes/yaf/bootstrap-forum.min.css" rel="stylesheet" runat="server" />
       <link href="~/Content/forum.min.css" rel="stylesheet" runat="server" />
        prng.GetBytes(delay);
        Thread.Sleep((int)delay[0]);

        IDisposable disposable = prng as IDisposable;
        if (disposable != null) { disposable.Dispose(); }
    }
</script>
           <p class="lead">
               <asp:Label ID="ErrorMessage" Enabled="true" runat="server" />
           </p>
           <asp:PlaceHolder runat="server" ID="ErrorDescriptionHolder" Visible="False">
               <p><button class="btn btn-outline-danger" type="button" data-bs-toggle="collapse" data-bs-target="#collapseError" aria-expanded="false" aria-controls="collapseError">
                   Show Full Error
               </button></p>
               <div class="collapse" id="collapseError">
                   <div class="card card-body">
                       <pre class="stacktrace"><code><asp:Literal runat="server" ID="ErrorDescription"></asp:Literal></code></pre>
                   </div>
               </div>
           </asp:PlaceHolder>

           <hr class="my-4"/>
           <p>
               Please contact the administrator if this message persists.
           </p>
                    </p>
                    <hr />
                    <p style="font-size: 9pt">
                        Note: If you are the administrator, and need help with this problem, please visit
                        this url: <a href="http://wiki.yetanotherforum.net/TroubleShooting%20CustomErrors.ashx">
                            Turn off CustomErrors in your web.config</a>.
                    </p>
                </td>
            </tr>

<MSG> Got rid of dumb code that put a dependancy on the BoardSettings (Context) on the logger. The logger is VERY low-level. Turned on error showing for Digest.

<DFF> @@ -11,7 +11,7 @@
         prng.GetBytes(delay);
         Thread.Sleep((int)delay[0]);
 
-        IDisposable disposable = prng as IDisposable;
+        var disposable = prng as IDisposable;
         if (disposable != null) { disposable.Dispose(); }
     }
 </script>
@@ -36,9 +36,8 @@
                     </p>
                     <hr />
                     <p style="font-size: 9pt">
-                        Note: If you are the administrator, and need help with this problem, please visit
-                        this url: <a href="http://wiki.yetanotherforum.net/TroubleShooting%20CustomErrors.ashx">
-                            Turn off CustomErrors in your web.config</a>.
+                        Note: If you are the administrator, and need help with this problem, please
+                        Turn off CustomErrors in your web.config.
                     </p>
                 </td>
             </tr>

{'addition_count': 3, 'commit_subject': 'Got rid of dumb code that put a dependancy on the BoardSettings (Context) on the logger. The logger is VERY low-level. Turned on error showing for Digest.', 'deletion_count': 4, 'file_extension': '.aspx', 'lang': 'NET/error', 'license': 'apache-2.0', 'repo_name': 'YAFNET/YAFNET'}