Skip to content

Commit

Permalink
Merge pull request #266 from icefoganalytics/test
Browse files Browse the repository at this point in the history
Update assessment-cslft-repository-v2.ts
  • Loading branch information
datajohnson authored Jun 26, 2024
2 parents cf5cad6 + d12aa75 commit 9f21f70
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { cleanNumber } from "@/models";
import { monthsBetween, weeksBetween } from "@/utils/date-utils";
import { Knex } from "knex";
import { clone, isEmpty, sum, sumBy } from "lodash";
import { clone, sumBy } from "lodash";
import moment from "moment";


import * as Sentry from "@sentry/node";

export class AssessmentCslftRepositoryV2 {
readonly db;

Expand Down Expand Up @@ -1145,11 +1142,8 @@ async function calculateFamilySize(
hasParent2 = true;
}

console.log("PARENT INFO", parentInfo, hasParent1, hasParent2);

Sentry.captureMessage(`PARENT INFO, ${parentInfo}, ${hasParent1}, ${hasParent2}`)


console.log(`PARENT INFO ${parentInfo}, ${hasParent1}, ${hasParent2}`);
throw Error(`PARENT INFO ${parentInfo}, ${hasParent1}, ${hasParent2}`)

family.total_dependants = 1 + parentDeps.length;
family.csl_dependants = 1;
Expand Down

0 comments on commit 9f21f70

Please sign in to comment.