log unauthenticated RPC calls as silly
This commit is contained in:
1
rpc.js
1
rpc.js
@@ -1837,6 +1837,7 @@ RPC.create = function (
|
|||||||
};
|
};
|
||||||
|
|
||||||
var handleUnauthenticatedMessage = function (msg, respond, nfwssCtx) {
|
var handleUnauthenticatedMessage = function (msg, respond, nfwssCtx) {
|
||||||
|
Log.silly('LOG_RPC', msg[0]);
|
||||||
switch (msg[0]) {
|
switch (msg[0]) {
|
||||||
case 'GET_HISTORY_OFFSET': {
|
case 'GET_HISTORY_OFFSET': {
|
||||||
if (typeof(msg[1]) !== 'object' || typeof(msg[1].channelName) !== 'string') {
|
if (typeof(msg[1]) !== 'object' || typeof(msg[1].channelName) !== 'string') {
|
||||||
|
|||||||
Reference in New Issue
Block a user