e-valuation / EvaP

a university course evaluation system written in Python using Django
Other
95 stars 146 forks source link

Reraise exceptions when debugging #2167

Closed Kakadus closed 2 months ago

Kakadus commented 2 months ago

This was raised during debugging https://github.com/e-valuation/EvaP/pull/2136, concerning update_evaluations. There, errors due to typeguard were silenced in the tests because of the raw except clause leading to weird test failures. This adds checks to reraise the exceptions when debugging.