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

Convert FleetAPI error response to OwnerAPI format #587

Closed
wants to merge 1 commit into from

Conversation

RichieB2B
Copy link

The FleetAPI proxy does not fill reason:

{'result': False, 'string': 'car could not execute command: disconnected'}, 'error': '', 'error_description': ''}

This patch converts the string back to reason.

@MikeBishop
Copy link
Collaborator

Why not use the findReason() function defined in #585?

@RichieB2B
Copy link
Author

Because I need to double check existing solutions before starting coding! ;-)

@RichieB2B RichieB2B closed this May 29, 2024
@RichieB2B RichieB2B deleted the response-reason branch May 29, 2024 05:43
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