report the file that had a masonize error
[freeside.git] / bin / masonize
index 169ba71..509ef3e 100755 (executable)
@@ -52,7 +52,7 @@ foreach $file ( split(/\n/, `find . -depth -print`) ) {
         $mode = 'html';
         next;
       }
-      die 'unterminated <%= ???';
+      die "unterminated <%= ??? (in  $file):";
 
     } elsif ( $mode eq 'perlc' ) {