Skip to content

Conversation

@ferozco
Copy link
Contributor

@ferozco ferozco commented Jun 1, 2020

Before this PR

We captured the body of an unknown remote exception and promptly ignored it.

After this PR

==COMMIT_MSG==
add the body of the UnknownRemoteException as a unsafe parameter
==COMMIT_MSG==

Possible downsides?

N/A

@ferozco ferozco requested a review from carterkozak June 1, 2020 18:59
@changelog-app
Copy link

changelog-app bot commented Jun 1, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

add the body of the UnknownRemoteException as a unsafe parameter

Check the box to generate changelog(s)

  • Generate changelog entry

List<Arg<?>> args = new ArrayList<>(2);
args.add(SafeArg.of("status", getStatus()));
args.add(UnsafeArg.of("body", getBody()));
return Collections.unmodifiableList(args);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: maybe Collections.unmodifiableList(Arrays.asList(SafeArg.of("status", getStatus()),UnsafeArg.of("body", getBody())))

@bulldozer-bot bulldozer-bot bot merged commit b1868c2 into develop Jun 1, 2020
@bulldozer-bot bulldozer-bot bot deleted the fo/unknown-remote-exception branch June 1, 2020 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants