You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In my local development environment, the finally block contains code intended to perform necessary cleanup or final actions following a try/catchsequence. However, when inspecting the code through the developer tools in the browser, thefinallyblock appears to be empty. This discrepancy could potentially interfere with the correct execution of the code or lead to misleading debugging outcomes. I am seeking to understand why thefinally` block, which is populated and functioning correctly in the local environment, is displayed as empty within the developer tools.
Expected behavior
The finally block should display the contained code in the developer tools just as it does in the local environment.
Desktop (please complete the following information):
OS: [e.g. Windows]
Browser [e.g. chrome, safari]
Code Snippet
// Simplified code to demonstrate the issueconstwifNavSvc=awaitSDK.getService<IWorkItemFormNavigationService>(WorkItemTrackingServiceIds.WorkItemFormNavigationService);wifNavSvc.openNewWorkItem(newWorkItemType,{// ...}).then(async(newlyCreatedWorkItem: WorkItem)=>{// ...}).catch(error=>{// ...}).finally(()=>{// Code that should appear in developer tools});
The text was updated successfully, but these errors were encountered:
Describe the bug
In my local development environment, the finally block contains code intended to perform necessary cleanup or final actions following a try/catchsequence. However, when inspecting the code through the developer tools in the browser, thefinallyblock appears to be empty. This discrepancy could potentially interfere with the correct execution of the code or lead to misleading debugging outcomes. I am seeking to understand why thefinally` block, which is populated and functioning correctly in the local environment, is displayed as empty within the developer tools.
Expected behavior
The
finally
block should display the contained code in the developer tools just as it does in the local environment.Desktop (please complete the following information):
Code Snippet
The text was updated successfully, but these errors were encountered: