MXS-1996: Remove misleading errors
The errors are expected if the file is empty.
This commit is contained in:
parent
9663c52f50
commit
4480995089
@ -317,7 +317,6 @@ MAXAVRO_FILE* maxavro_file_open(const char* filename)
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("Failed to initialize avrofile.");
|
||||
maxavro_schema_free(avrofile->schema);
|
||||
error = true;
|
||||
}
|
||||
|
@ -172,10 +172,6 @@ void avro_index_file(AVRO_INSTANCE *router, const char* filename)
|
||||
|
||||
maxavro_file_close(file);
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("Failed to open file '%s' when generating file index.", filename);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user