Different states on Restart Simulation Button done
This commit is contained in:
1 parent
562bc0dc52
commit
5181f2fcd8
3 files changed
+78
-11
No files matched your search
@@ -28,9 +28,12 @@ async function graphQlRestartSimulation (simulationParams) {
|
||||
})
|
||||
|
||||
if (graphQLServer.data.errors) {
|
||||
console.log(err.stack)
|
||||
throw new Error(graphQLServer.data.errors[0].message)
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err.stack)
|
||||
throw new Error('There has been an error restarting the simulation. Error: ' + err.stack)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user