fixes #7155 - ensure displayMessage is present

fixed rubocop

updated status code check to >= 400
Merge pull request #4593 from thomasmckay/7155-sub-mgr-messages

fixes #7155 - ensure displayMessage is present