Permalink
Browse files

Changed debug output for skipped attachments.

Script would otherwise error when there was an attachment it didn't know what to do with, when
trying to output information about it.
  • Loading branch information...
1 parent e6a26b6 commit 82e99ed96c951344084b30d96ca7294179fa4204 @techsneeze committed Apr 2, 2016
Showing with 1 addition and 2 deletions.
  1. +1 −2 dmarcts-report-parser.pl
@@ -413,8 +413,7 @@ sub getXMLFromMessage {
} else {
# Skip the attachment otherwise.
if($debug == 1) {
- print $ent->parts($i)->{ME_Bodyhandle}->{MB_Path};
- print "\n";
+ print "Skipped an unknown attachment \n";
}
next; # of parts
}

0 comments on commit 82e99ed

Please sign in to comment.