fix(server/automate): logger should have request context and request ID sent to execution engine (#4092)
* fix(server/automate): logger should have request context * WIP - pass in request Id * WIP * fix(automate): better logging for automate processes * chore(automate): slight log improvement * fix(automate): just in case --------- Co-authored-by: Charles Driesler <chuck@speckle.systems>
This commit is contained in:
@@ -169,7 +169,7 @@ import {
|
||||
listWorkspaceSsoMembershipsFactory
|
||||
} from '@/modules/workspaces/repositories/sso'
|
||||
import { getDecryptor } from '@/modules/workspaces/helpers/sso'
|
||||
import { getFunctions } from '@/modules/automate/clients/executionEngine'
|
||||
import { getFunctionsFactory } from '@/modules/automate/clients/executionEngine'
|
||||
import {
|
||||
ExecutionEngineFailedResponseError,
|
||||
ExecutionEngineNetworkError
|
||||
@@ -1093,7 +1093,9 @@ export = FF_WORKSPACES_MODULE_ENABLED
|
||||
action: AuthCodePayloadAction.ListWorkspaceFunctions
|
||||
})
|
||||
|
||||
const res = await getFunctions({
|
||||
const res = await getFunctionsFactory({
|
||||
logger: context.log
|
||||
})({
|
||||
auth: authCode,
|
||||
filters: {
|
||||
query: args.filter?.search ?? undefined,
|
||||
|
||||
Reference in New Issue
Block a user