Fixed error handlers not getting the configurations.