This should be extracted at the beginning of the method: 

```javascript
submit(bytecode, op, args, requestId, processor) {
  if (bytecode !== null) {
    return Promise.reject(new Error('Bytecode in session mode is not 
supported'));
  }
  if (args === null) {
    return Promise.reject(new Error('args should not be null'));
  }
}
```

[ Full content available at: https://github.com/apache/tinkerpop/pull/1243 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to