fix exception handling
fix exception handling

preprocessed-connectomes-project/quality-assessment-protocol,oesteban/quality-assessment-protocol,preprocessed-connectomes-project/quality-assessment-protocol,preprocessed-connectomes-project/quality-assessment-protocol,preprocessed-connectomes-project/quality-assessment-protocol,oesteban/quality-assessment-protocol,oesteban/quality-assessment-protocol,oesteban/quality-assessment-protocol,preprocessed-connectomes-project/quality-assessment-protocol,oesteban/quality-assessment-protocol