25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01: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.