Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Feature: III-3173 #30

Merged
merged 3 commits into from
Dec 13, 2019
Merged

Feature: III-3173 #30

merged 3 commits into from
Dec 13, 2019

Conversation

konrad126
Copy link
Contributor

Added

  • Error Handler service with logic to strip UiTPAS API request information from Error Response

Jira

- add logic to strip UiTPAS API request information from Error Response
@coveralls
Copy link

coveralls commented Dec 12, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 443bb97 on feature/III-3173 into 5b16929 on master.

private function formatMessage(\Exception $exception): string
{
$message = $exception->getMessage();
return preg_replace('/URL CALLED.*/','',$message);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: It seems like this is not covered by the coding standards check, but we might want to add some spaces between these arguments.

@bertramakers
Copy link
Contributor

Efficient solution. I like that you split if off to a separate class so it's easily testable.

@konrad126 konrad126 merged commit 537963e into master Dec 13, 2019
@konrad126 konrad126 deleted the feature/III-3173 branch December 13, 2019 11:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants