Fix runtime error with catch() with no block.