Merge branch 'dev' into staging
This commit is contained in:
commit
2ea1605175
@ -43,7 +43,7 @@ export default class AnchoringProofService extends BaseService {
|
||||
</html>
|
||||
`;
|
||||
|
||||
await page.setContent(htmlContent, { waitUntil: "networkidle0", timeout: 60000 });
|
||||
await page.setContent(htmlContent, { waitUntil: "networkidle0", timeout: 1200000 });
|
||||
await page.addStyleTag({
|
||||
content: `
|
||||
@page {
|
||||
|
@ -11,6 +11,7 @@ import { EOfficeStatus } from "@prisma/client";
|
||||
import OfficeRolesService from "@Services/super-admin/OfficeRolesService/OfficeRolesService";
|
||||
import DeedTypesService from "@Services/super-admin/DeedTypesService/DeedTypesService";
|
||||
import DocumentTypesService from "@Services/super-admin/DocumentTypesService/DocumentTypesService";
|
||||
import * as Sentry from "@sentry/node";
|
||||
|
||||
interface IIdNotToken {
|
||||
access_token: string;
|
||||
@ -385,6 +386,7 @@ export default class IdNotService extends BaseService {
|
||||
console.log("userData", userData);
|
||||
} catch (error) {
|
||||
console.error("Error fetching " + `${this.variables.IDNOT_API_BASE_URL}/api/pp/v2/rattachements/${decodedToken.profile_idn}?`, error);
|
||||
Sentry.captureException(error);
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -401,6 +403,7 @@ export default class IdNotService extends BaseService {
|
||||
).json()) as IOfficeLocation;
|
||||
} catch (error) {
|
||||
console.error("Error fetching" + `${this.variables.IDNOT_API_BASE_URL + userData.entite.locationsUrl}` , error);
|
||||
Sentry.captureException(error);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user