mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 12:56:29 +00:00
Review fixes
This commit is contained in:
@@ -143,13 +143,12 @@ export const auditLogQueueServiceFactory = async ({
|
||||
}
|
||||
);
|
||||
logger.info(
|
||||
`Successfully streamed audit log to ${url} for org ${orgId}. Response body: ${JSON.stringify(response.data)}`
|
||||
`Successfully streamed audit log [url=${url}] for org [orgId=${orgId}] [response=${JSON.stringify(response.data)}]`
|
||||
);
|
||||
return response;
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
`Failed to stream audit log to ${url} for org ${orgId}. Error:`,
|
||||
(error as AxiosError).message
|
||||
`Failed to stream audit log [url=${url}] for org [orgId=${orgId}] [error=${(error as AxiosError).message}]`
|
||||
);
|
||||
return error;
|
||||
}
|
||||
@@ -249,13 +248,12 @@ export const auditLogQueueServiceFactory = async ({
|
||||
}
|
||||
);
|
||||
logger.info(
|
||||
`Successfully streamed audit log to ${url} for org ${orgId}. Response body: ${JSON.stringify(response.data)}`
|
||||
`Successfully streamed audit log [url=${url}] for org [orgId=${orgId}] [response=${JSON.stringify(response.data)}]`
|
||||
);
|
||||
return response;
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
`Failed to stream audit log to ${url} for org ${orgId}. Error:`,
|
||||
(error as AxiosError).message
|
||||
`Failed to stream audit log [url=${url}] for org [orgId=${orgId}] [error=${(error as AxiosError).message}]`
|
||||
);
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user