Skip to content

Exception when getTrace returns empty array #20

@esclapes

Description

@esclapes

I found an error (SSL handshake failure on the c binding) where getTrace returns an empty array.

{ error: { Error: 139685643917120:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:
 code: 'ESOCKET', command: 'CONN' } }

In that case the stackify-logger will throw an error at error.formatEx() method

TypeError: Cannot read property 'Method' of undefined
at Object.formatEx (/home/cxco/code/projects/kpn/kpn-proxy/node_modules/stackify-logger/lib/error.js:82:44)

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