DeepBlueRobotics / RobotCode2018

All of our code for FRC's 2018 game: FIRST Power Up.
5 stars 11 forks source link

putStringArray can fail and that case is not handled #16

Closed brettle closed 6 years ago

brettle commented 6 years ago

https://github.com/DeepBlueRobotics/RobotCode2018/blob/2ac79eb04c867c5054e83b0cd1b503993213dbec/Robot2018/src/tests/scriptupload/scriptupload.py#L27

brettle commented 6 years ago

putStringArray can fail and that case is not handled #16

MysteryPig commented 6 years ago

I don't think we can handle this—as far as I could tell, it doesn't raise anything upon failure.

kevinzwang commented 6 years ago

One way to do it is to get from nt and then compare it to the data you put in

brettle commented 6 years ago

Yes, also check the docs for what putStringArray() returns.

brettle commented 6 years ago

This was fixed.