DataLad-next extension

  • Halchenko, Yaroslav O.
  • Hanke, Michael
  • Heunis, Stephan
  • Markiewicz, Christopher J.
  • Mönch, Christian
  • Poldrack, Benjamin
  • Szczepanik, Michał
  • Wagner, Adina S.
  • Wodder II, John T.
Publication date
June 2023

Abstract

Bug Fixes Patch CommandError, the standard exception raised for any non-zero exit command execution to now reports which command failed with repr() too. Previously, only str() would produce an informative message about a failure, while repr() would report CommandError(''), unless a dedicated message was provided. (by @mih) Some error messages (in particular from within git-annex special remotes) exhibited uninformative error messages like CommandError(''). This is now fixed by letting CommandError produce the same error rendering in __str__ and __repr__. Previously, RuntimeError.__repr__ was used, which was unaware of command execution details also available in the exception. https://github.com/datalad/datalad-next/pull/386 (by @mih) The...

Extracted data

We use cookies to provide a better user experience.