fix E722 do not use bare except

2 jobs for master in 40 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build #4233

00:00:22

 
  Test
passed test #4234

00:00:17