chariot-dev / chariot

IoT Sensor Framework
GNU Lesser General Public License v3.0
5 stars 4 forks source link

Figure out how to show user custom exceptions #36

Open Juan-Garcia96 opened 4 years ago

Juan-Garcia96 commented 4 years ago

When a custom exception is hit, such as a DuplicateNameError. The console records that an exception has occurred, but a REST client such YARC does not handle this gracefully.

File "C:\Users\Juan Garcia Lopez\Desktop\seniorDesign\chariot\src\chariot\network\NetworkManager.py", line 54, in addNetwork raise DuplicateNameError(networkName, 'Network')