Skip to content

Commit db17d8a

Browse files
Merge pull request #749 from cylc/1.8.x-sync
🤖 Merge 1.8.x-sync into master
2 parents d7d8b04 + 3ad2cdd commit db17d8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cylc/uiserver/graphql/tornado.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def qualify(x):
112112

113113

114114
class ExecutionError(Exception):
115-
def __init__(self, status_code=400, errors=None):
115+
def __init__(self, status_code, errors):
116+
super().__init__(status_code, errors)
116117
self.status_code = status_code
117118
if errors is None:
118119
self.errors = []

0 commit comments

Comments
 (0)