using std::string;
-/** @param film Film thta the problem is with, or 0.
+/** @param film Film that the problem is with, or 0.
* @param from Email address to use for From:
* @param summary Summary of the problem.
*/
{
body += file.string() + ":\n";
body += "---<8----\n";
- body += dcp::file_to_string (_film->file(file));
+ try {
+ body += dcp::file_to_string (_film->file(file));
+ } catch (...) {
+ body += "[could not be read]\n";
+ }
body += "---<8----\n\n";
}