182 Commits (1e003efe28e7be99a43fa634e70f9302b7fc3b69)

Author SHA1 Message Date
Diana Shkolnikov db0e063d8c Refactor controllers to be simple midddleware 9 years ago
Julian Simioni fc6ed1c7f3 Add semver middleware 9 years ago
Harish Krishna 3ed4842e86 timeout is one word 9 years ago
Harish Krishna 8e17f28170 typeof error should be string 9 years ago
Harish Krishna b3f85ebc17 err & err.message instead of err.message 9 years ago
Harish Krishna 381cb1917a big fix - err is of type string if there is an error within express app - its of type object (with .message being string) in case of errors messages from the ES cluster 9 years ago
Harish Krishna ae4e75784f big fix - err is of type string if there is an error within express app - its of type object (with .message being string) in case of errors messages from the ES cluster 9 years ago
Harish Krishna 1cfa76880b check for err message if it contains the words request timeout (because sometimes it comes back as a 500 even though it should be 408) 9 years ago
Harish Krishna 71b0c12f70 check for err message if it contains the words request timeout (because sometimes it comes back as a 500 even though it should be 408) 9 years ago
Harish Krishna 812e56c516 Revert "[debug] if ES cluster in stage/prod ever returns 408" 9 years ago
Harish Krishna d2cc05b8e8 [debug] if ES cluster in stage/prod ever returns 408 9 years ago
Harish Krishna 793182148a middleware fix 9 years ago
Harish Krishna b51aed512b adding 408.js 9 years ago
Harish Krishna f2197c4dd2 middleware fix 9 years ago
Harish Krishna 78c112d787 adding 408.js 9 years ago
Severyn Kozak 0b8220cbf3 Log only once per error. 10 years ago
Severyn Kozak 157734b8d6 Emit access-logs via pelias-logger. 10 years ago
Severyn Kozak a007af3572 Replace src/logger with pelias-logger. 10 years ago
Severyn Kozak 877e1e90a5 Add an access log middleware. 10 years ago
Severyn Kozak f27df8b5c5 Return error message if string. 10 years ago
Severyn Kozak cf1a483ede Don't report full errors in API results. 10 years ago
Severyn Kozak 17bb6db6e5 Resolve #114: report runtime errors. 10 years ago
Peter Johnson 8aed2a0c6f remove toobusy module 10 years ago
Peter Johnson e599b826e2 delete search middleware 10 years ago
Peter Johnson 7bb05e1825 comment unused code 10 years ago
Harish Krishna 57f969117e fixing the bbox issue. constructing a 20km bbox and not some insanely big bounding box. 10 years ago
Harish Krishna 8ba5c5b811 math 10 years ago
Harish Krishna 8fcfa1b57e exporting middleware and fixing reverse endpoint 10 years ago
Peter Johnson 794db085a2 split app from server, add toobusy 10 years ago
Harish Krishna 15c63e405c adding a naive reverse api endpoint (also, shares most of the search controller). updated search query to include a filter and a sort (calculating a bounding box, given a lat/lon) 10 years ago
Peter Johnson 972d3a2a84 refactor 10 years ago
Peter Johnson 4323b0030b progress commit 10 years ago