The "exc" variable was not defined, pass a BrokenPipeError exception instead.
Attach a file by drag & drop or click to upload