In case of an error during the execution of the command "Get-AuthenticodeSignature '${tempUpdateFile}' | ConvertTo-Json -Compress", no error is thrown to the upper layers.
An error could occur (for example) if either the command "Get-AuthenticodeSignature" or "ConvertTo-Json" cannot be executed.