chore: use unknown in catch variables where possible
#11948
Merged
unknown in catch variables where possible
#11948