Skip to content

Commit

Permalink
Reduserer mengden log spam
Browse files Browse the repository at this point in the history
Former-commit-id: 6a0decb88f19792284c50241ec6b2329d8d1e0f8
  • Loading branch information
AndreasDybdahl committed Sep 6, 2019
1 parent 6041d0e commit ab25838
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/components/applikasjon/resetSoknad/ResetSoknad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ const ResetSoknad: React.FunctionComponent<StateProps & HistoryProps & DispatchP
history
}) => {
const resetAndCancelSøknad = () => {
Api.log({
message: `Noe har gått galt i ${debugInfo.ekstrainfo.currentStegID}`,
trace: JSON.stringify(debugInfo),
browserInfo: detect()
});

dispatch(søknadActionCreators.avbrytSøknad());
history.push(routeConfig.APP_ROUTE_PREFIX);
};

Api.log({
message: `Noe har gått galt i ${debugInfo.ekstrainfo.currentStegID}`,
trace: JSON.stringify(debugInfo),
browserInfo: detect()
});

const bem = BEMHelper('resetSoknad');

return (
Expand Down

0 comments on commit ab25838

Please sign in to comment.