Metrics:
Total lines of code: 1195
Total lines skipped (#nosec): 0

try_except_pass: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: CWE-703
File: /custom_nodes/ComfyUI_UltimateSDUpscale/repositories/ultimate_sd_upscale/scripts/ultimate-upscale.py
Line number: 515
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b110_try_except_pass.html
511	            try:
512	                scale_index = target_size_types.index(scale_name)
513	                custom_width.visible = custom_height.visible = scale_index == 1
514	                custom_scale.visible = scale_index == 2
515	            except:
516	                pass
517	
518	        target_size_type.init_field = init_field
519