diff --git a/src/app/projectmanagement/overview.component.ts b/src/app/projectmanagement/overview.component.ts index 7e1bc94799..dc02d0338e 100644 --- a/src/app/projectmanagement/overview.component.ts +++ b/src/app/projectmanagement/overview.component.ts @@ -218,7 +218,7 @@ export class OverviewComponent extends ApplicationBaseClassComponent implements if (this.updateCreditsHistoryIntervals) { clearInterval(this.updateCreditsHistoryIntervals); } - } catch (error: Error) { + } catch (error: any) { console.log(error); } } @@ -518,7 +518,7 @@ export class OverviewComponent extends ApplicationBaseClassComponent implements this.project_application.project_application_current_credits = credits; } }, - (err: Error): void => { + (err: any): void => { console.log(err.message); }, ),