Improve error handling
This commit is contained in:
parent
dc84abdc0a
commit
e0a4e16ea1
@ -252,6 +252,10 @@ export class PortfolioController {
|
|||||||
range
|
range
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (performanceInformation?.hasErrors) {
|
||||||
|
res.status(StatusCodes.ACCEPTED);
|
||||||
|
}
|
||||||
|
|
||||||
let performance = performanceInformation.performance;
|
let performance = performanceInformation.performance;
|
||||||
if (
|
if (
|
||||||
impersonationId &&
|
impersonationId &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user