Skip to content

Extension Error Causes {"message":"Internal Server Error"}? #27

@astorm

Description

@astorm

When running some tests I noticed that if the extension was unable to post to APM Server with an error like this

2021/09/23 22:34:57 An Error Occured calling client.Do Post "https://01cd7a0a66084992906782275a699198.apm.us-east-1.aws.cloud.es.io:443/intake/v2/events": net/http: TLS handshake timeout

That this error seemed to corespond with a Lambda result of

$ curl https://xxx.execute-api.us-west-2.amazonaws.com/default/july-2021-delete-after-july-31
{"message":"Internal Server Error"}

We should investigate and make sure that our extension error handling is done in such a way that it doesn't crash the lambda function.

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