diff --git a/middleware/sendJSON.js b/middleware/sendJSON.js index 906145ed..584fdf0e 100644 --- a/middleware/sendJSON.js +++ b/middleware/sendJSON.js @@ -59,8 +59,8 @@ function sendJSONResponse(req, res, next) { statusCode = Math.max( statusCode, 500 ); break; // break on first match } - logger.warn( 'unknown geocoding error string:', err ); } + logger.warn( 'unknown geocoding error string:', err ); } else { logger.warn( 'unknown geocoding error type:', typeof err, err ); }