I had to move up setLogs(data.logs) to get the logs.
I dont know if this is a known issue but whenever compilation fails, it throws error in the below code segment because is_execution_successful & tracer_data in data is undefined as not returned by the run API and it would jump to catch block thus not updating the logs.
Also added a small style fix because in some screens console log messages were being cutoff like this
Resolves #145
I had to move up
setLogs(data.logs)
to get the logs.I dont know if this is a known issue but whenever compilation fails, it throws error in the below code segment because
is_execution_successful
&tracer_data
indata
is undefined as not returned by therun
API and it would jump to catch block thus not updating the logs.Also added a small style fix because in some screens console log messages were being cutoff like this![image](https://github.com/walnuthq/cairovm.codes/assets/61868840/472e2fdf-d2b2-47af-a249-0e14987c1945)