hedgedoc/lib/web
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
..
auth SAML: Use privateKey option 2021-05-17 18:46:00 +02:00
imageRouter fix(image-upload): Fix swallowing of errors for filesystem 2021-08-14 20:04:08 +02:00
middleware
note Add better logging messages 2021-03-29 23:07:11 +02:00
baseRouter.js
historyRouter.js
statusRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
userRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js