Branch: Tag:

2001-09-02

2001-09-02 16:34:11 by Per Hedbor <ph@opera.com>

Always log decode problems with the log and security formats. It should never ever happen, really. If it does, please tell me so I can fix it.

Rev: server/base_server/roxen.pike:1.724

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.723 2001/09/02 16:10:45 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.724 2001/09/02 16:34:11 per Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;
4268:    return compiled_formats[fmt] =    decode_value( tmp[0]->enc, master()->MyCodec() )()->log;    }; - #ifdef DEBUG -  report_debug("Decoding of dumped log format failed:\n%s", + // #ifdef DEBUG +  report_error("Decoding of dumped log format failed:\n%s",    describe_backtrace(err)); - #endif + // #endif    }    array parts = fmt/"$";    string format = parts[0];
4547:    mixed err = catch {    return decode_value( tmp[0]->enc, master()->MyCodec() )()->log;    }; - #ifdef DEBUG -  report_debug("Decoding of dumped log format failed:\n%s", + // #ifdef DEBUG +  report_error("Decoding of dumped log format failed:\n%s",    describe_backtrace(err)); - #endif + // #endif    }