Remove unneeded catch/throw from 'mkdir' and 'oss' functions#8425
Remove unneeded catch/throw from 'mkdir' and 'oss' functions#8425daxian-dbw merged 1 commit intoPowerShell:masterfrom
Conversation
|
@daxian-dbw - sorry to have just noticed this - the seemingly unnecessary |
|
Does it update ScriptStackTrace in errorrecord? |
|
@lzybkr Thanks for bringing up that context. Looks like those try/catch were added only for functions that uses |
|
The "better error reporting" might be related to But it doesn't seem to be the exact reason for the try/catch/throw in the original |
PR Summary
Remove unneeded catch/throw from 'mkdir' and 'oss' functions.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests