Skip to content
Browse files

Fix another dialyzer warning.

  • Loading branch information...
1 parent 1d53008 commit 4f20b8a65f9f1a1c7a09b66eebc0b6d1fadb752c @pmundkur pmundkur committed
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();

0 comments on commit 4f20b8a

Please sign in to comment.
Something went wrong with that request. Please try again.