fix broken exception

Merged Jan Kuchař requested to merge fix-broken-exception into master

Merge request reports