Skip to content

Commit

Permalink
Update log messages as per code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
suhailgupta03 committed Dec 1, 2023
1 parent bc2a530 commit 9a10a61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/receivers/HTTPModuleFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ export class HTTPModuleFunctions {

// Check if the response headers have already been sent
if (response.headersSent) {
logger.error('Headers already sent, cannot send another response');
logger.error('An unhandled error occurred after ack() called in a listener');
logger.debug(`Error details: ${error}, storedResponse: ${storedResponse}`);
return false;

Check warning on line 198 in src/receivers/HTTPModuleFunctions.ts

View check run for this annotation

Codecov / codecov/patch

src/receivers/HTTPModuleFunctions.ts#L196-L198

Added lines #L196 - L198 were not covered by tests
}

Expand Down

0 comments on commit 9a10a61

Please # to comment.