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