Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add word "Warning" to MD5 digest message.

Not being able to open a file to calculate its MD5 digest means that we can't
process that file for coverage data.  This is a warning rather than an error
because processing of the other files can continue.  Adding the word "Warning"
makes the status more clear.
  • Loading branch information...
commit 063bd78c7f431fd665070ce69c226468e93bd93d 1 parent d05713c
@pjcj authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/Devel/Cover/DB/Structure.pm
View
3  lib/Devel/Cover/DB/Structure.pm
@@ -230,7 +230,8 @@ sub digest
}
else
{
- print STDERR "Devel::Cover: Can't open $file for MD5 digest: $!\n"
+ print STDERR "Devel::Cover: Warning: can't open $file " .
+ "for MD5 digest: $!\n"
unless lc $file eq "-e" or
$file =~ $Devel::Cover::Moose_filenames;
# require "Cwd"; warn Carp::longmess("in " . Cwd::cwd());
Please sign in to comment.
Something went wrong with that request. Please try again.