diff options
author | Michael Klishin <[email protected]> | 2017-01-25 17:41:08 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-01-31 14:36:36 +0100 |
commit | 066a714c6923aa5497f9536ffe7f1d681dc32c96 (patch) | |
tree | 786c2a8f0859e92f3a075259d213ecdf42223f51 /src/ranch.erl | |
parent | f4f297cc9c07bc057479f77437cf0cbcfd0e67eb (diff) | |
download | ranch-066a714c6923aa5497f9536ffe7f1d681dc32c96.tar.gz ranch-066a714c6923aa5497f9536ffe7f1d681dc32c96.tar.bz2 ranch-066a714c6923aa5497f9536ffe7f1d681dc32c96.zip |
Format eacces errors in a more readable way
Amended with small whitespace changes and removing an unused clause.
Diffstat (limited to 'src/ranch.erl')
-rw-r--r-- | src/ranch.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ranch.erl b/src/ranch.erl index 9d2509a..2ef6222 100644 --- a/src/ranch.erl +++ b/src/ranch.erl @@ -85,6 +85,7 @@ maybe_started(Res) -> Res. start_error(E=eaddrinuse, _) -> {error, E}; +start_error(E=eacces, _) -> {error, E}; start_error(E=no_cert, _) -> {error, E}; start_error(_, Error) -> Error. |