getappmap / appmap-js

Client libraries for AppMap
48 stars 17 forks source link

fix: handle missing API key #2101

Open apotterri opened 3 weeks ago

apotterri commented 3 weeks ago

When the user hasn't provided an API key for Navie, the RPC client currently returns a 500 error code with a message, instead of a 401. Handle this error, so the UI will be updated appropriately.