eluv-io / elv-live-js

Eluvio Live JavaScript SDK
MIT License
4 stars 3 forks source link

handle inactive marketplaces #148

Closed elv-Loren closed 11 months ago

elv-Loren commented 11 months ago

add nested try catch to get 401 and send request as inactive

this requires admin Auth for the second request to work

does not solve for tenant Auth on deleted/inactive marketplaces

elv-Loren commented 11 months ago

what I learned on this is that elv-live-js should be doing a lot more try catch blocks and exception handling if this is used by customers. await everywhere with no exception handling.