Configuration error raised as event

And the promise is rejected.