Skip to content

Conversation

SAKURA-CAT
Copy link
Member

Corrected the keys used to extract 'expected' and 'got' values from the error dictionary to 'excepted' and 'data_class', ensuring proper error handling in the SwanLabKey class.

修复了面对错误类型图表时 resume 出错的问题

Corrected the keys used to extract 'expected' and 'got' values from the error dictionary to 'excepted' and 'data_class', ensuring proper error handling in the SwanLabKey class.
@SAKURA-CAT SAKURA-CAT requested a review from Zeyi-Lin July 14, 2025 11:14
@SAKURA-CAT SAKURA-CAT self-assigned this Jul 14, 2025
@SAKURA-CAT SAKURA-CAT added the 🐛 bug Something isn't working label Jul 14, 2025
Changed error dictionary keys from 'expected' and 'got' to 'excepted' and 'data_class' in both SwanLabKey and related unit tests for consistency. Updated error message assertions to reflect new field names.
@Zeyi-Lin Zeyi-Lin merged commit 34c7f97 into main Jul 15, 2025
5 checks passed
@SAKURA-CAT SAKURA-CAT deleted the fix/resume-error branch July 17, 2025 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants