We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ddf4a commit 06ee8d4Copy full SHA for 06ee8d4
src/client/client.ts
@@ -3986,11 +3986,17 @@ export class Client {
3986
variables[`s${names[index]}`] = item.signature
3987
})
3988
3989
- const result = await this.gql.mutate({
3990
- mutation,
3991
- variables
3992
- })
+ try {
+ const result = await this.gql.mutate({
+ mutation,
+ variables
3993
+ })
3994
+ console.info("Result: ", result)
3995
+ return Object.keys(result.data).map(k => result.data[k]) as OrderPlaced[]
3996
+
3997
+ } catch(e) {
3998
+ console.info(e)
3999
+ }
4000
- return Object.keys(result.data).map(k => result.data[k]) as OrderPlaced[]
4001
}
4002
0 commit comments