logger.log({level:'ERROR',fileName:'GetInfo',msg:'Eclair Get info failed due to missing or wrong password!',error:{error:'Missing or wrong password.'}});
res.status(502).json({
message:"Fetching Info Failed!",
error:"Missing Or Wrong Password"
});
consterrMsg='Eclair Get info failed due to missing or wrong password!';
consterr=common.handleError({statusCode:502,message:'Missing or Wrong Password',error:errMsg},'GetInfo',errMsg);
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Backup Verify Error. Channel backup to verify does not Exist!',error:{error:'Channel backup to verify does not Exist.'}});
res.status(404).json({message:'Channels backup to verify does not Exist!'});
consterrMsg='Channel backup to verify does not Exist.';
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Backup Verify Error. Channel backup to verify does not Exist!',error:{error:'Channel backup to verify does not Exist.'}});
res.status(404).json({message:'Channels backup to verify does not Exist!'});
consterrMsg='Channel backup to verify does not Exist.';
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Backup Verify Error. Channel backup to verify does not Exist!',error:{error:'Channel backup to verify does not Exist.'}});
res.status(404).json({message:'Channel backup to verify does not Exist!'});
consterrMsg='Channel backup to verify does not Exist.';
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Restore Error.Channels backup to restore does not Exist!',error:{error:'Channel backup to restore does not Exist.'}});
res.status(404).json({message:'Channels backup to restore does not Exist!'});
consterrMsg='Channel backup to restore does not Exist.';
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Restore Error. Channels backup to restore does not Exist!',error:{error:'Channel backup to restore does not Exist.'}});
res.status(404).json({message:'Channels backup to restore does not Exist!'});
consterrMsg='Channel backup to restore does not Exist.';
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Restore Error. Channels backup to restore does not Exist!',error:{error:'Channel backup to restore does not Exist.'}});
res.status(404).json({message:'Channels backup to restore does not Exist!'});
consterrMsg='Channel backup to restore does not Exist.';
logger.log({level:'ERROR',fileName:'ChannelBackup',msg:'Channel Restore Error. Channels backup to restore does not Exist!',error:{error:'Channel backup to restore does not Exist.'}});
res.status(404).json({message:'Channel backup to restore does not Exist!'});
consterrMsg='Channel backup to restore does not Exist.';
error:"Application locked for "+(LOCKING_PERIOD/ONE_MINUTE)+" minutes due to multiple failed login attempts! Try again after " +common.convertTimestampToTime((failed.lastTried+LOCKING_PERIOD)/1000)+"!"
error:"Application locked for "+(LOCKING_PERIOD/ONE_MINUTE)+" minutes due to multiple failed attempts!\nTry again after " +common.convertTimestampToTime((failed.lastTried+LOCKING_PERIOD)/1000)+"!"
logger.log({level:'ERROR',fileName:'Authenticate',msg:'SSO Authentication Failed! Access key too short or does not match.',error:{error:'Access key too short or does not match.'}});
res.status(406).json({
message:"SSO Authentication Failed!",
error:"SSO failed. Access key too short or does not match."
});
consterrMsg='SSO Authentication Failed! Access key too short or does not match.';
if(options.url===''){returnres.status(500).json({message:"Boltz Get Info Failed!",error:{message:'Boltz Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Boltz Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Get Info Error',error:errMsg},'Boltz',errMsg);
logger.log({level:'INFO',fileName:'Boltz',msg:'Getting Service Information..'});
options=common.getBoltzServerOptions();
if(options.url===''){returnres.status(500).json({message:"Boltz Get Service Info Failed!",error:{message:'Boltz Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Boltz Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Get Service Information Error',error:errMsg},'Boltz',errMsg);
logger.log({level:'INFO',fileName:'Boltz',msg:'Getting List Swaps..'});
options=common.getBoltzServerOptions();
if(options.url===''){returnres.status(500).json({message:"Boltz List Swaps Failed!",error:{message:'Boltz Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Boltz Server URL is missing in the configuration.';
if(options.url===''){returnres.status(500).json({message:"Boltz Swap Info Failed!",error:{message:'Boltz Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Boltz Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Get Swap Information Error',error:errMsg},'Boltz',errMsg);
if(options.url===''){returnres.status(500).json({message:"Create Reverse Swap Failed!",error:{message:'Boltz Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Boltz Server URL is missing in the configuration.';
if(options.url===''){returnres.status(500).json({message:"Create Channel Failed!",error:{message:'Boltz Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Boltz Server URL is missing in the configuration.';
logger.log({level:'INFO',fileName:'Loop',msg:'Getting Loop Out Terms..'});
options=common.getSwapServerOptions();
if(options.url===''){returnres.status(500).json({message:"Loop Out Terms Failed!",error:{message:'Loop Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Loop Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Loop Out Terms Error',error:errMsg},'Loop',errMsg);
logger.log({level:'INFO',fileName:'Loop',msg:'Getting Loop Out Quotes..'});
options=common.getSwapServerOptions();
if(options.url===''){returnres.status(500).json({message:"Loop Out Quote Failed!",error:{message:'Loop Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Loop Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Loop Out Quotes Error',error:errMsg},'Loop',errMsg);
logger.log({level:'INFO',fileName:'Loop',msg:'Getting Loop Out Terms & Quotes..'});
options=common.getSwapServerOptions();
if(options.url===''){returnres.status(500).json({message:"Loop Out Terms And Quotes Failed!",error:{message:'Loop Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Loop Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Loop Out Terms & Quotes Error',error:errMsg},'Loop',errMsg);
logger.log({level:'INFO',fileName:'Loop',msg:'Getting Loop In Terms..'});
options=common.getSwapServerOptions();
if(options.url===''){returnres.status(500).json({message:"Loop In Terms Failed!",error:{message:'Loop Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Loop Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Loop In Terms Error',error:errMsg},'Loop',errMsg);
logger.log({level:'INFO',fileName:'Loop',msg:'Getting Loop In Quotes..'});
options=common.getSwapServerOptions();
if(options.url===''){returnres.status(500).json({message:"Loop In Quote Failed!",error:{message:'Loop Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Loop Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Loop In Quotes Error',error:errMsg},'Loop',errMsg);
logger.log({level:'INFO',fileName:'Loop',msg:'Getting Loop In Terms & Quotes..'});
options=common.getSwapServerOptions();
if(options.url===''){returnres.status(500).json({message:"Loop In Terms And Quotes Failed!",error:{message:'Loop Server URL is missing in the configuration.'}});}
if(options.url===''){
consterrMsg='Loop Server URL is missing in the configuration.';
consterr=common.handleError({statusCode:500,message:'Loop In Terms & Quotes Error',error:errMsg},'Loop',errMsg);
<spanclass="page-title">{{apisCallStatus?.FetchInfo.status === apiCallStatusEnum.COMPLETED ? 'Welcome ' + information.alias + '! Your node is up and running.' : apisCallStatus?.FetchInfo.status === apiCallStatusEnum.INITIATED ? 'Wait! Getting your node information...' : 'Error! Please check the server connection.'}}</span>