Skip to content
Browse files

This was for debugging

  • Loading branch information...
1 parent f77d7d0 commit 6e8af06ad5a10a06874838ea671d1d67fb8b0c7b @yannk committed Jun 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Avro/DataFileReader.pm
View
2 lib/Avro/DataFileReader.pm
@@ -70,7 +70,7 @@ sub read_file_header {
writer_schema => $Avro::DataFile::HEADER_SCHEMA,
reader => $datafile->{fh},
);
- confess "Magic '$data->{magic}' doesn't match"
+ croak "Magic '$data->{magic}' doesn't match"
unless $data->{magic} eq Avro::DataFile->AVRO_MAGIC;
$datafile->{sync_marker} = $data->{sync}

0 comments on commit 6e8af06

Please sign in to comment.
Something went wrong with that request. Please try again.