1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 17:59:31 +02:00

mod_http_upload: Avoid catch-all error handling

This commit is contained in:
Holger Weiss 2019-05-27 21:56:37 +02:00
parent a06bdb1721
commit 8b301fc93e

View file

@ -833,8 +833,6 @@ do_store_file(Path, Request, FileMode, DirMode) ->
end end
catch catch
_:{badmatch, {error, Error}} -> _:{badmatch, {error, Error}} ->
{error, Error};
_:Error ->
{error, Error} {error, Error}
end. end.