Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix another dialyzer warning.

  • Loading branch information...
commit 4f20b8a65f9f1a1c7a09b66eebc0b6d1fadb752c 1 parent 1d53008
@pmundkur pmundkur authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 master/src/disco_web.erl
View
5 master/src/disco_web.erl
@@ -52,10 +52,7 @@ reply({file, File, Docroot}, Req) ->
reply(not_found, Req) ->
Req:not_found();
reply({error, E}, Req) ->
- Req:respond({400, [], mochijson2:encode(E)});
-reply(E, Req) ->
- error_logger:error_report({"500 Error", E}),
- Req:respond({500, [], ["Internal server error"]}).
+ Req:respond({400, [], mochijson2:encode(E)}).
getop("load_config_table", _Query) ->
disco_config:get_config_table();
Please sign in to comment.
Something went wrong with that request. Please try again.