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:
parent
a06bdb1721
commit
8b301fc93e
@ -833,8 +833,6 @@ do_store_file(Path, Request, FileMode, DirMode) ->
|
||||
end
|
||||
catch
|
||||
_:{badmatch, {error, Error}} ->
|
||||
{error, Error};
|
||||
_:Error ->
|
||||
{error, Error}
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user