e209729 Backport PR #4690 to avoid failing on empty files when reporting bugs

Authored and Committed by adamwill a year ago
    Backport PR #4690 to avoid failing on empty files when reporting bugs
    
        
file modified
+8 -1