Added debugging code to fix bitid
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<%@ Application Language="C#" %>
|
||||
<%@ Import Namespace="System.IO" %>
|
||||
<%@ Import Namespace="System.Collections.Generic" %>
|
||||
<%@ Import Namespace="Swarmops.Database" %>
|
||||
<%@ Import Namespace="Swarmops.Logic.Support" %>
|
||||
|
||||
|
||||
<script runat="server">
|
||||
@@ -21,6 +23,10 @@
|
||||
|
||||
private void Application_Error(object sender, EventArgs e)
|
||||
{
|
||||
Exception exc = this.Server.GetLastError();
|
||||
|
||||
Persistence.Key["LastUncaughtException"] = exc.ToString();
|
||||
SwarmDb.GetDatabaseForWriting().CreateExceptionLogEntry (DateTime.UtcNow, "Application", exc); // TODO: Move to Logic
|
||||
// Code that runs when an unhandled error occurs
|
||||
}
|
||||
|
||||
|
||||
@@ -629,7 +629,7 @@
|
||||
|
||||
function onBitIdRegisterOpen() {
|
||||
$('div#divBitIdEnable').empty();
|
||||
$('div#divBitIdEnable').qrcode({ text: "<%=this.GenerateBitIdToken%>", size:400, quiet: 4 });
|
||||
$('div#divBitIdEnable').qrcode({ text: "<%=this.GenerateBitIdToken%>", size:400, quiet: 4, ecLevel: 'L' });
|
||||
$('div#divBitIdEnable + div.modal-sidebar').html(SwarmopsJS.unescape('<%=this.Localized_BitIdRegister_Sidebar%>'));
|
||||
|
||||
_master_bitIdRecheckTimer = setTimeout(onBitIdRegisterRecheck, 5000); // First check after 5s
|
||||
|
||||
Reference in New Issue
Block a user