Added errror message to thread container