Debug option for responses from networks
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
I am currently setting up various strategies, but I'm having trouble getting my Bluesky integration to work. It would be nice if crosspost --verbose or some other option would be available that might print a readable output of the response from the network:
> crosspost --bluesky "Testing"
❌ Bluesky failed.
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:6223:19)
at successSteps (node:internal/deps/undici/undici:6204:27)
at readAllBytes (node:internal/deps/undici/undici:5173:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
The above is what I get when I call. I assume an error page is returned, but I don't know its content at this point. Is there an easy way to somehow log (either into the terminal or a logfile) what the responses are?
Regarding the Bluesky issue, I assume it's the IDENTIFIER for my user. The docs are not very clear about what identifier that is (Username with or without @, DID from Bluesky). We cross that bridge when we come to it :)
- Dominant language
- JavaScript
- Stars
- 576
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from humanwhocodes/crosspost
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
humanwhocodes/crosspost#170 · 9 comments ·
-
humanwhocodes/crosspost#166 · 1 reaction · 2 assignees ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
humanwhocodes/crosspost#138 · 5 comments · 1 reaction ·
-
humanwhocodes/crosspost#117 · 1 reaction · 1 assignee ·
-
humanwhocodes/crosspost#115 · 1 comment · 1 reaction · 1 assignee ·
All issues in humanwhocodes/crosspost
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100