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 Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
note Add better logging messages 2021-03-29 23:07:11 +02:00
baseRouter.js Move note actions to their own file. 2019-10-27 13:51:53 +01:00
historyRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
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 Allow posting new note with content 2018-01-18 10:41:58 +01:00