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

chore: show explanation in the log when 401 occurrs #593

Merged
merged 2 commits into from May 13, 2024
Merged

Conversation

KazuCocoa
Copy link
Contributor

Print slightly better error log in #592 case:

error example:

The device 123.456.789.10 might be denied in the past pairing. Please make sure the device 123.456.789.10 had no denied devices, especially named '123.456.789.10'.

appium-tizen-tv-driver/node_modules/got/dist/source/as-promise/index.js:118
                    request._beforeError(new types_1.HTTPError(response));
                                         ^
HTTPError: Response code 401 (Unauthorized)
    at Request.<anonymous> (/appium-tizen-tv-driver/node_modules/got/dist/source/as-promise/index.js:118:42)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
✖ Encountered an error when running 'pair-remote': Script "pair-remote" exited with code 1

@KazuCocoa KazuCocoa requested a review from jlipps May 11, 2024 00:35
@KazuCocoa KazuCocoa merged commit d465705 into main May 13, 2024
10 checks passed
@KazuCocoa KazuCocoa deleted the pair-error branch May 13, 2024 16:49
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.

None yet

2 participants