throw error instead of returning promise if action injection fails