Don't reset error status in lod_error() and lod_errmsg() ...