Skip to content

Conversation

@jamesbraza
Copy link
Collaborator

And also testing #1048

@jamesbraza jamesbraza self-assigned this Aug 6, 2025
@jamesbraza jamesbraza added the enhancement New feature or request label Aug 6, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 6, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves error logging for invalid BibTeX name strings and adds test coverage for issue #1048. The main change enhances the logging message when BibTeX parsing fails by adding the actual exception details and using repr formatting for better readability.

  • Enhanced error logging with exception details and repr formatting for titles
  • Added new test data for a specific DOI to increase test coverage

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/test_clients.py Adds new test case with paper attributes for additional DOI search coverage
tests/cassettes/test_doi_search[paper_attributes4].yaml HTTP response cassette for the new test case containing API responses from multiple services
src/paperqa/types.py Improves error logging by capturing exception details and using repr formatting for better readability

@jamesbraza jamesbraza force-pushed the testing-greek-crash branch from a7d8647 to f19c8a1 Compare August 6, 2025 20:18
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 6, 2025
@jamesbraza jamesbraza merged commit 0caa926 into main Aug 6, 2025
5 checks passed
@jamesbraza jamesbraza deleted the testing-greek-crash branch August 6, 2025 20:31
jamesbraza added a commit that referenced this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants