Comment out logging statements in application

This commit is contained in:
jfrye122
2023-06-07 14:00:10 -04:00
parent ae8a0fb943
commit 851d8bebe4
4 changed files with 28 additions and 16 deletions

View File

@@ -57,7 +57,7 @@ export function* onEmployeeSignInSuccessSaga() {
export function* updateEmployeeWithEmployeeId({ payload }) {
try {
const employeeId = payload.id;
console.log("updateEmployeeWithEmployeeId",employeeId);
// console.log("updateEmployeeWithEmployeeId",employeeId);
// logImEXEvent("redux_update_employee_with_employee_id_attempt", employeeId);
const result = yield client.query({ query: QUERY_EMPLOYEE_BY_ID,
variables: {
@@ -73,8 +73,8 @@ export function* updateEmployeeWithEmployeeId({ payload }) {
}
} catch (error) {
yield put(employeeGetRatesFailure(error));
console.log("Error while getting employee rates.", error);
//Sentry.Native.captureException(error);
// console.log("Error while getting employee rates.", error);
Sentry.Native.captureException(error);
}
}
@@ -104,8 +104,8 @@ export function* getRatesWithEmployeeId({ payload: employeeId }) {
}
} catch (error) {
yield put(employeeGetRatesFailure(error));
console.log("Error while getting employee rates.", error);
//Sentry.Native.captureException(error);
// console.log("Error while getting employee rates.", error);
Sentry.Native.captureException(error);
}
}