Created
September 29, 2014 20:40
-
-
Save tonysun83/65f1a05db27b814dd801 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tonys-MacBook-Pro:dreyfus llamage$ git diff | |
diff --git a/src/dreyfus_httpd.erl b/src/dreyfus_httpd.erl | |
index b4f76bf..27e9acc 100644 | |
--- a/src/dreyfus_httpd.erl | |
+++ b/src/dreyfus_httpd.erl | |
@@ -16,6 +16,7 @@ handle_search_req(Req, Db, DDoc) -> | |
handle_search_req(#httpd{method=Method, path_parts=[_, _, _, _, IndexName]}=Req | |
,#db{name=DbName}=Db, DDoc, RetryCount, RetryPause) | |
when Method == 'GET'; Method == 'POST' -> | |
+ twig:log(notice, "Initiate handle_search_req", []), | |
QueryArgs = #index_query_args{ | |
q = Query, | |
include_docs = IncludeDocs, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment