Skip to content

Commit

Permalink
change error wording
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed May 28, 2023
1 parent 9c0581e commit 4347952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ilmomasiina-frontend/src/modules/auth/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const login = (email: string, password: string) => async (dispatch: Dispa
},
});
if (!sessionResponse) {
throw Error('login error:');
throw Error('Bad response');
}
dispatch(loginSucceeded(sessionResponse));
dispatch(push(appPaths.adminEventsList));
Expand Down

0 comments on commit 4347952

Please sign in to comment.