Skip to content

Conversation

suyashkumar
Copy link
Owner

Where appropriate, this calls log.Infof along with a return instead of log.Fatalf to ensure defered functions are actually run in those exit scenarios.

Looking at dicomutil, it could probably use some improvements and a refactor as well in general as an example program.

@suyashkumar suyashkumar self-assigned this Jul 2, 2023
@suyashkumar suyashkumar changed the title Log and return to ensure defers are still called in dicomutil. Log and return to ensure defers are still called in example dicomutil. Jul 2, 2023
@suyashkumar suyashkumar merged commit 9612756 into main Jul 2, 2023
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