-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
ADO to GitHub automation labelIssue caused by core project dependency modules or libraryIssue caused by core project dependency modules or libraryrequest: feature
Description
Feature Request
Problem
Using this library in NodeJS Backend, most logger detect Error objects and parse them accordingly.
In addition, GraphError not being extended from Error doesn't have a stack trace.
GraphError is not parse correctly by our logger (pinoJS) and we don't have any stack trace.
Solution
Extend GraphError from base JS Error.
I believe it should be done here:
msgraph-sdk-javascript/src/GraphError.ts
Line 20
in
7529db8
export class GraphError {
impaler and naugtur
Metadata
Metadata
Assignees
Labels
ADO to GitHub automation labelIssue caused by core project dependency modules or libraryIssue caused by core project dependency modules or libraryrequest: feature