Added proper error handling in maps.py

2 jobs for master in 22 seconds (queued for 2 seconds)
Name Stage Failure
failed
python_3 Test There is an unknown failure, please try again



FAILED !!!

The following files failed:
- ./test_scripts/physics/test_maps.py
0% | ETA: --:--:-- | Calculating 1% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 10% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 19% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 28% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 37% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 46% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 55% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 64% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 73% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 82% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000) 91% | ETA: 0:00:00 | Calculating - Locked ✓✓✓✓✓ (Locking steps tried 0/10000)
ERROR: Build failed: exit code 1
failed
python_2 Test There is an unknown failure, please try again



FAILED !!!

The following files failed:
- ./test_scripts/physics/test_maps.py

ERROR: Build failed: exit code 1