aboutsummaryrefslogtreecommitdiff
path: root/src/mod_http_upload.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2019-05-27 21:56:37 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2019-05-27 21:56:37 +0200
commit8b301fc93ec66207b78894a6b478caf8b8ba4a9e (patch)
treee00d45e828ed3ad0e14db778526e51ffac82ed14 /src/mod_http_upload.erl
parentImprove captcha blocking alert wording (diff)
mod_http_upload: Avoid catch-all error handling
Diffstat (limited to 'src/mod_http_upload.erl')
-rw-r--r--src/mod_http_upload.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl
index c1013fe77..364b3a019 100644
--- a/src/mod_http_upload.erl
+++ b/src/mod_http_upload.erl
@@ -833,8 +833,6 @@ do_store_file(Path, Request, FileMode, DirMode) ->
end
catch
_:{badmatch, {error, Error}} ->
- {error, Error};
- _:Error ->
{error, Error}
end.