Sheogorath c025d6abee
fix(image-upload): Fix swallowing of errors for filesystem
This patch fixes the swollowing of the actual error message that appears
when a file fails to move, after being uploaded to Hedgedoc on an
instance that is using the upload-method `filesystem` active.

This became apparent when the error messages provided by some users,
where less than helpful.

As a solution the error message of the copy command was added to the
error that is output to the console.

https://community.hedgedoc.org/t/image-upload-fail-docker/439

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2021-08-14 20:04:08 +02:00
..
2020-12-02 19:39:06 +01:00
2018-11-13 23:30:13 +01:00
2021-02-15 12:15:14 +01:00
2021-06-07 23:04:45 +02:00
2021-02-15 12:15:14 +01:00
2021-02-15 12:15:14 +01:00
2019-05-31 00:30:29 +02:00
2021-04-25 20:06:56 +02:00
2021-02-15 12:15:14 +01:00