powershell/PSAvoidUsingEmptyCatchBlock is a PSScriptAnalyzer diagnostic emitted by tally for PowerShell snippets embedded in Dockerfiles.
Description
Empty catch blocks are considered a poor design choice because any errors occurring in atry block cannot be handled.
How
UseWrite-Error or throw statements within the catch block.