Browse Source

Improve error handling

pull/239/head
Thomas 4 years ago
parent
commit
e0a4e16ea1
  1. 4
      apps/api/src/app/portfolio/portfolio.controller.ts

4
apps/api/src/app/portfolio/portfolio.controller.ts

@ -252,6 +252,10 @@ export class PortfolioController {
range
);
if (performanceInformation?.hasErrors) {
res.status(StatusCodes.ACCEPTED);
}
let performance = performanceInformation.performance;
if (
impersonationId &&

Loading…
Cancel
Save