diff --git a/error/api-errors.handler.js b/error/api-errors.handler.js index eba07b06..bcb2c0b6 100644 --- a/error/api-errors.handler.js +++ b/error/api-errors.handler.js @@ -86,7 +86,7 @@ class ApiErrorArrayHandler { * @param {ApiLogger} apiLogger * @param {Error} e */ - static raiseInternalServerError(response, apiLogger, e) { + static raiseInternalServerError(e, response, apiLogger) { apiLogger.logger.error(e); if (!response.headersSent) {