Skip to content

Commit

Permalink
fix(module-tools): error message parsing from unexpected/unhandled er…
Browse files Browse the repository at this point in the history
…rors (#824)
  • Loading branch information
Renc17 committed Nov 27, 2023
1 parent 3286eec commit 7cb3e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/module-tools/src/routing/wrapRouterFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function wrapRouterGrpcFunction(
ConduitGrpcSdk.Logger.error(error.message ?? 'Something went wrong');
callback({
code: error.code ?? status.INTERNAL,
message: error.message ?? 'Something went wrong',
message: error.details ?? error.message ?? 'Something went wrong',
});
});
};
Expand Down

0 comments on commit 7cb3e8c

Please sign in to comment.