Different states on Restart Simulation Button done

This commit is contained in:
Luis Fernando Molina committed 2019-05-15 19:07:19 +02:00
1 parent 562bc0dc52
commit 5181f2fcd8
3 files changed
+78 -11

No files matched your search

+3
View File
@@ -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)
}
}