From c31ba0dac2eb2bd0dd24c3bbccc4f2d451d3f2a7 Mon Sep 17 00:00:00 2001 From: Slava Kim Date: Fri, 10 Jun 2016 11:47:36 -0700 Subject: [PATCH] remove an unnecessary block --- src/execution/execute.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/execution/execute.js b/src/execution/execute.js index 82ad3414ee..ddb7233561 100644 --- a/src/execution/execute.js +++ b/src/execution/execute.js @@ -598,13 +598,6 @@ function resolveField( result ); - if (isThenable(completed)) { - return ((completed: any): Promise).catch(error => { - error.executionPath = exePath; - return Promise.reject(error); - }); - } - return completed; }