[BUG] On network PermissionDenied errors, hint to the user to check their outgoingDomains
manifest field
#59
Labels
bug
Something isn't working
Description
If you leave the
outgoingDomains
field empty in yourmanifest.ts
, but do end up interacting with a third party service on some domain, the error you will see at runtime after youslack run
orslack deploy
your app will be something like:Could we catch this error within the runtime, and log out to the check the
outgoingDomains
field in the app manifest (or even make that check for the user, is that possible? not sure if the runtime has access to the manifest though) as a hint to the user, and then re-raise the error?EDIT: as pointed out by @mcodik, this should already be happening? See this code.
The text was updated successfully, but these errors were encountered: