Skip to content

Commit

Permalink
Log sendEmail errors
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello committed Dec 17, 2024
1 parent 324ca3e commit 58dd2b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/containers/TwoFactor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { Services } from '../../lib/services';
import { useAppSelector } from '../../lib/hooks';
import Toast from '../Toast';
import { showToast } from '../../lib/methods/helpers/showToast';
import log from '../../lib/methods/helpers/log';

export const TWO_FACTOR = 'TWO_FACTOR';

Expand Down Expand Up @@ -78,8 +79,8 @@ const TwoFactor = React.memo(() => {
showToast(I18n.t('Two_Factor_Success_message'));
}
}
} catch (error) {
console.log(error, 'here');
} catch (e) {
log(e)
}
};

Expand Down

0 comments on commit 58dd2b9

Please sign in to comment.