Correct syntax for capturing multiple exceptions.
Merge pull request #564 from joonas/regression-fix-529

Correct syntax for capturing multiple exceptions. Fixes #529