cube icon indicating copy to clipboard operation
cube copied to clipboard

The "requestId" could be generated before "checkAuth" is called

Open bnegrao opened this issue 1 year ago • 0 comments

The checkAuth function is called right at the beginning when Cube starts to handle a request. Because of that, I use it to print the first log message about the incoming request.

But the 'requestId' is not set in the request object that is given to checkAuth. So it is difficult to link the first log message with the subsequent log messages that already contain a requestId.

Couldn't the 'requestId' be set on the request before checkAuth is invoked?

bnegrao avatar Jul 26 '24 02:07 bnegrao