More specific exception catching for dispatchers

At least only KeyError and TypeError will be catched by these trys