Comment out logging statements in application
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user