Skip to content

fix: handle company register API data type errors#2731

Open
OlegPhenomenon wants to merge 3 commits into
masterfrom
company-register-type-data-issue
Open

fix: handle company register API data type errors#2731
OlegPhenomenon wants to merge 3 commits into
masterfrom
company-register-type-data-issue

Conversation

@OlegPhenomenon
Copy link
Copy Markdown
Contributor

  • Add type checking for contact ident before calling company register API
  • Add logging for debugging company details processing
  • Prevent TypeError when converting Symbol to Integer in company_register gem

The changes help to:

  1. Prevent errors when contact ident is not a string
  2. Improve debugging capabilities by logging API responses
  3. Better handle edge cases in company register status checks

- Add type checking for contact ident before calling company register API
- Add logging for debugging company details processing
- Prevent TypeError when converting Symbol to Integer in company_register gem

The changes help to:
1. Prevent errors when contact ident is not a string
2. Improve debugging capabilities by logging API responses
3. Better handle edge cases in company register status checks
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.

1 participant