fixup checking of exception's message
fixup checking of exception's message

StackVista/sts-agent-integrations-core,StackVista/sts-agent-integrations-core,StackVista/sts-agent-integrations-core,StackVista/sts-agent-integrations-core,StackVista/sts-agent-integrations-core