Added try catch to transformer subject retrieval