Description
If a BIDS dataset is invalid, BIDS2Legacy may crash. However, the reason why it crashes - e.g., "BackgroundSuppression field is missing" - is catched and not shown to the user . It is helpful to the user to show the reason why this function crashed. Also, when this part crashes, it's useful to show a message if the BIDS validator was run.
How to test
Remove a BIDS fiels and BIDS2Legacy should crash and show you why it crashed.