`'str' object has no attribute 'decode'` when `PortAlreadyInUse` error is raised.
Author: DiscreteTomCreated Jul 12, 2024Updated Sep 3, 2026
Labelsarea/dockertype/bugmaintainer/need-responsearea/local
Remove .decode() to resolve this issue.
Source: aws/aws-sam-cli