Skip to content

proper exception printing#688

Merged
JonasIsensee merged 1 commit intomasterfrom
exceptionprinting
Oct 6, 2025
Merged

proper exception printing#688
JonasIsensee merged 1 commit intomasterfrom
exceptionprinting

Conversation

@JonasIsensee
Copy link
Copy Markdown
Collaborator

For once a very simple and self-contained improvement:

#before
julia> throw(JLD2.InvalidDataException("test\ntest\n"))
ERROR: JLD2.InvalidDataException("test\ntest\n")
Stacktrace:
 [1] top-level scope
   @ REPL[33]:1

# after
julia> throw(JLD2.InvalidDataException("test\ntest\n"))
ERROR: InvalidDataException: test
test

Stacktrace:
 [1] top-level scope
   @ REPL[37]:1

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.34%. Comparing base (1de58ee) to head (3c5e4cb).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/types.jl 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #688      +/-   ##
==========================================
- Coverage   85.42%   85.34%   -0.08%     
==========================================
  Files          37       37              
  Lines        4439     4443       +4     
==========================================
  Hits         3792     3792              
- Misses        647      651       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JonasIsensee JonasIsensee merged commit 91eb846 into master Oct 6, 2025
10 of 15 checks passed
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.

1 participant