Before, some errors were not properly captured and the messages returned to the viewer were cryptic (e.g., Error(s) occurred: [Object object]). Now every error is captured and returns a meaningful message.
This has to be merged with stanfordnmbl/opencap-viewer/pull/88.
Note: This touches almost EVERY function in the views.py file, so we have to thoroughly test everything before merging to prod.
Before, some errors were not properly captured and the messages returned to the viewer were cryptic (e.g., Error(s) occurred: [Object object]). Now every error is captured and returns a meaningful message.
This has to be merged with stanfordnmbl/opencap-viewer/pull/88.
Note: This touches almost EVERY function in the views.py file, so we have to thoroughly test everything before merging to prod.