Added try/catch for configuration key errors