Fixing error on log entry
This commit is contained in:
1 parent
66f2bbc4dc
commit
958589a30e
1 file changed
+1
-1
@@ -28,7 +28,7 @@ async function graphQlRestartSimulation (simulationParams) {
|
||||
})
|
||||
|
||||
if (graphQLServer.data.errors) {
|
||||
console.log(err.stack)
|
||||
console.log(graphQLServer.data.errors)
|
||||
throw new Error(graphQLServer.data.errors[0].message)
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in new issue
Block a user