avoid use of bare except

4 jobs for !632 with 28-scoped-exceptions-in-davinci-configuration-code in 24 seconds
merge request