You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enhance error traceability throughout the codebase, we need to implement exception chaining. Currently, the exception handling does not provide sufficient context for the underlying errors. By using exception chaining, we can improve the clarity and traceability of errors.
Tasks:
Identify all instances of exception handling across the codebase.
Replace the current exception handling with exception chaining.
Example:
exceptExceptionasexc:
raiseException("My own text") fromexc
Ensure all exception messages provide clear and meaningful context.
Update any related test cases to verify the new exception chaining behavior.
Description:
To enhance error traceability throughout the codebase, we need to implement exception chaining. Currently, the exception handling does not provide sufficient context for the underlying errors. By using exception chaining, we can improve the clarity and traceability of errors.
Tasks:
References:
Refer to Python's documentation on exception chaining for more details.
Files to Update:
crategen/converters/tes_converter.py
crategen/converters/wes_converter.py
crategen/converter_manager.py
crategen/validators.py
Expected Outcome:
The text was updated successfully, but these errors were encountered: