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

Add debugParse #6

Merged
merged 1 commit into from
Nov 19, 2021
Merged

Add debugParse #6

merged 1 commit into from
Nov 19, 2021

Conversation

valencik
Copy link
Contributor

On a failed parse we get output like:

sbt:curly> coreJVM/run
[info] compiling 1 Scala source to /Users/valencik/projects/curly/core/.jvm/target/scala-2.13/classes ...
[info] running io.chrisdavenport.curly.Main 
curl 'https://linux.die.net/man/1/curl' -H ''User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://www.google.com/' -H 'Connection: keep-alive' -H 'Cookie: u=0ZfsEl8jjh6BR0aoAw9hAg==' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: cross-site' -H 'Sec-Fetch-User: ?1' -H 'Cache-Control: max-age=0'
--------------------------------------------^
Left(Error(44,NonEmptyList(ExpectedFailureAt(44,'))))

It's nice to then run ~coreJVM/run in sbt

@valencik valencik self-assigned this Nov 19, 2021
@valencik valencik merged commit e85898c into main Nov 19, 2021
@ChristopherDavenport ChristopherDavenport deleted the parse-helper branch November 20, 2021 06:14
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