mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-3998 Improve logging for API call parameters related to apiCmds.writeCloud9Pipe
This commit is contained in:
parent
3e9f0df838
commit
55deba3e48
@ -551,6 +551,19 @@ const logApiCallParams = (arg: any) => {
|
||||
)}`,
|
||||
);
|
||||
break;
|
||||
case apiCmds.writeCloud9Pipe:
|
||||
const compressedData = {
|
||||
...arg,
|
||||
data: Buffer.from(arg.data).toString('base64'),
|
||||
};
|
||||
logger.info(
|
||||
`main-api-handler: - ${apiCmd} - Properties: ${JSON.stringify(
|
||||
compressedData,
|
||||
null,
|
||||
2,
|
||||
)}`,
|
||||
);
|
||||
break;
|
||||
default:
|
||||
logger.info(
|
||||
`main-api-handler: - ${apiCmd} - Properties: ${JSON.stringify(
|
||||
|
Loading…
Reference in New Issue
Block a user