Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:6733: Inside #if constant(syslog)
  #if constant(syslog)    init_logger();   #endif    init_garber();       initiate_supports();    initiate_argcache();    init_configuserdb();    cache.init_session_cache();    +  // Report unhandled Promise rejections. +  Concurrent.on_failure(lambda(mixed err) +  { +  string description; +  if (objectp (err) && functionp(err->describe)) { +  description = err->describe(); +  } else { +  description = sprintf ("%O", err); +  } +  report_error("Unhandled error in Promise.\n" +  "Error: %s\n", description); +  }); +     protocols = build_protocols_mapping();       int t = gethrtime();    report_debug("Searching for pike-modules directories ... \b");    foreach( find_all_pike_module_directories( ), string d )    master()->add_module_path( d );    report_debug("\bDone [%dms]\n", (gethrtime()-t)/1000 );      #ifdef SMTP_RELAY    smtp_relay_start();