Uploading now works everywhere. Show an flash message if the download fails.

This commit is contained in:
Jan Böhmer 2019-10-19 18:50:17 +02:00
parent 27a001b1d2
commit 9385d28e40
3 changed files with 47 additions and 5 deletions

View file

@ -217,7 +217,7 @@ class AttachmentSubmitHandler
]);
if (200 !== $response->getStatusCode()) {
throw new AttachmentDownloadException('Statuscode:' . $response->getStatusCode());
throw new AttachmentDownloadException('Status code: ' . $response->getStatusCode());
}
//Open a temporary file in the attachment folder