Skip to content

Error.captureStackTrace can't be used in Joi's browser build #340

@bradleat

Description

@bradleat

Error.captureStackTrace(this, exports.assert);

Can we change this to a conditional capture like:

if(Error.captureStackTrace){
   ...
}

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions