Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 5 changed files Side-by-side Diff

... ... @@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4 4  
5 5 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6 6  
  7 +#### [v0.14.10](https://gitlab.kodesumber.com/komodo/komodo-center-messaging/compare/v0.14.9...v0.14.10)
  8 +
  9 +- Add config.do_not_reply_warning_on_empty_message [`dd3e936`](https://gitlab.kodesumber.com/komodo/komodo-center-messaging/commit/dd3e93681557ed8a8fb4f1bfcc043682144a2987)
  10 +
7 11 #### [v0.14.9](https://gitlab.kodesumber.com/komodo/komodo-center-messaging/compare/v0.14.8...v0.14.9)
8 12  
  13 +> 4 October 2021
  14 +
9 15 - Change log message on message history [`dcc1925`](https://gitlab.kodesumber.com/komodo/komodo-center-messaging/commit/dcc1925c99400d0683a18bdefa38a5f6fc855197)
10 16  
11 17 #### [v0.14.8](https://gitlab.kodesumber.com/komodo/komodo-center-messaging/compare/v0.14.7...v0.14.8)
... ... @@ -13,5 +13,6 @@
13 13 "ascending_mutation": false,
14 14 "blacklist_help_for_origins": [],
15 15 "blacklist_help_for_origin_transports": [],
16   - "disable_claim_bonus": false
  16 + "disable_claim_bonus": false,
  17 + "do_not_reply_warning_on_empty_message": false
17 18 }
18 19 \ No newline at end of file
lib/http-listener.js
... ... @@ -70,8 +70,11 @@ function mainHandler(req, res) {
70 70 logger.warn(`${MODULE_NAME} #92996A497D12: Undefined parameter msg`, {
71 71 xid,
72 72 });
73   - res.end(`ERROR. Undefined parameter: msg. XID: ${xid}`);
74   - return;
  73 +
  74 + if (!config.do_not_reply_warning_on_empty_message) {
  75 + res.end(`ERROR. Undefined parameter: msg. XID: ${xid}`);
  76 + return;
  77 + }
75 78 }
76 79  
77 80 logger.verbose(
1 1 {
2 2 "name": "komodo-center-messaging",
3   - "version": "0.14.9",
  3 + "version": "0.14.10",
4 4 "lockfileVersion": 2,
5 5 "requires": true,
6 6 "packages": {
7 7 "": {
8 8 "name": "komodo-center-messaging",
9   - "version": "0.14.9",
  9 + "version": "0.14.10",
10 10 "license": "ISC",
11 11 "dependencies": {
12 12 "auto-changelog": "^2.3.0",
1 1 {
2 2 "name": "komodo-center-messaging",
3   - "version": "0.14.9",
  3 + "version": "0.14.10",
4 4 "description": "Komodo Common Messaging Center",
5 5 "main": "index.js",
6 6 "scripts": {