Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added project rick-and-morty #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrii-subash
Copy link

No description provided.

andrii-subash and others added 2 commits October 19, 2023 11:29
I forgot to delete this file before commited

@ControllerAdvice
public class CustomGlobalExceptionHandler extends ResponseEntityExceptionHandler {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

objectMapper.readValue(results, CharacterInfoDto[].class);
dtosList.addAll(Arrays.asList(characterInfoDtos));
} catch (NullPointerException e) {
break;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to log? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants