Comment 1 for bug 844607

Revision history for this message
Andrew Nicols (dobedobedoh) wrote :

I've been pondering whether the log_exit should go with the other error functions (e.g. log_debug) in lib/errors.php.
We currently have no log_die, and I doubt we want one except for CLI stuff (correct me if I'm wrong). Setting the exit code is very CLI specific. Therefore I've been toying with a function
  function cli_exit($message, $error = false)