lib/Classes.js
function (error, order, recvMsg) {
      if (error) {
        me_order.client.MsgEndDialog(function (error2, recvMsg2) {
          if (error2) {
            me_order.client.log.con.error({
              error: error2
            }, 'Connection close failed after error.')
          } else {
            me_order.client.log.con.debug('Connection closed okay, after error.')
          }
        })
      }
      cb(error, order, recvMsg)
    }
function (error, order, recvMsg) {
      if (error) {
        me_order.client.MsgEndDialog(function (error2, recvMsg2) {
          if (error2) {
            me_order.client.log.con.error({
              error: error2
            }, 'Connection close failed after error.')
          } else {
            me_order.client.log.con.debug('Connection closed okay, after error.')
          }
        })
      }
      cb(error, order, recvMsg)
    }
function ( error , order , recvMsg ) { if ( error ) { me_order . client . MsgEndDialog ( function ( error2 , recvMsg2 ) { if ( error2 ) { me_order . client . log . con . error ( { error : error2 } , 'Connection close failed after error.' ) } else { me_order . client . log . con . debug ( 'Connection closed okay, after error.' ) } } ) } cb ( error , order , recvMsg ) }
Exit CB is called when the function returns here it is checked if an error occures and then disconnects
Exit CB is called when the function returns here it is checked if an error occures and then disconnects