[!52] Fix compiler warning when catching exceptions
Merge branch 'cleanup/fix-compiler-warning-exception-handler' into 'master'
See merge request extensions/dune-foamgrid!52
(cherry picked from commit 84dddfef)
257bfd75 Fix compiler warning when catching exceptions