Skip to content

[javascript] [bug] When logging a function execution, the context object is printed as [object Object] #31

@VictoriaHunsaker

Description

@VictoriaHunsaker

Example as seen in my own logs:

Executing function: healthCheck, context: [object Object]

I think all that needs to be done is modify this line to something like

this._logger.info(`Executing function: ${functionName}, context: ${JSON.stringify(context)}`)

I'd fix it myself, but I can't push a change to a branch in order to open a PR.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions