Fixed warnings introduced by the reindentation using ruff
ruff reindentation seems to not be without consequence when you have try/catch blocks. Maybe it should be reported to them as a bug.
In our case, I would more blame our code for being not so safe and the fix was quite trivial
Edited by Sebastien Ponce