DFU file publish (onDFUFilePublish) can fail with follow-on error obscuring original cause of failure

Description

On DFU publish, if there's a exception failure (e.g. during attach), then the clearup process may hit another exception and report that follow-up exception instead of the original.

A particular case of this is when attach() fails, and the wind-up code tries to detach the newfile, which in turns fails because it is illegal to call detach on a file that is not yet attached.
Fix this related issue also.

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created March 2, 2023 at 1:43 PM
Updated March 6, 2023 at 12:32 PM
Resolved March 6, 2023 at 12:31 PM