Skip to content

Commit

Permalink
fix throw on false user credential
Browse files Browse the repository at this point in the history
  • Loading branch information
GravityDarkLab committed Jan 29, 2024
1 parent 693db52 commit f671023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base/networking/api/handler/auth_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class AuthHandler {
_logger.i('JWT token saved successfully for user: $username');
} catch (e) {
_logger.e('Error saving JWT token for user: $username, Error: $e');
throw AppError.tokenSaveError(e);
throw AppError.userError();
}
}

Expand Down

0 comments on commit f671023

Please sign in to comment.