Skip to content

Commit

Permalink
[APM] exceptions are encapsulated on Kibana logs(#96343)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
cauemarcondes and kibanamachine authored Apr 6, 2021
1 parent 8051fa9 commit f1d6629
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/apm/server/routes/create_api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export function createApi() {

return response.ok({ body });
} catch (error) {
logger.error(error);
const opts = {
statusCode: 500,
body: {
Expand Down

0 comments on commit f1d6629

Please sign in to comment.