An error occurs when clicking "Click to view resource" without Azure view opening
OS: Mac (Pro)/Win10/Ubuntu 22.04 Build Version: 20220906.4 Regression: Not a regression
Repro Steps:
- Create a function app.
- Navigate to other view (such as Debug view) during creating a function app.
- Click "Click to view resource".
- Check whether no error occurs.
Expect: No error occurs.
Actual:
An error occurs.

Verified in the currently released version (1.7.4) so not specific to the 1.8 version. I wonder if it's a similar issue to vscode-azureresourcegroups#202 where reveal doesn't always work if tree nodes have yet to be enumerated.
Note: it seems to always work on the 2nd try.
Pretty sure that this is an issue with the Resources extension. From the repro steps, I suspect we might have to ensure that the Azure View is visible/loaded before we try to run reveal? Of course, this will most likely change when we do the v2 tree work.