Throw error when a resolve promise fails.

Dependency injection in my resolve maps was failing silently when I messed something up. This simply throws the error message to the console.