Moved try/catch to environment message builders.