Add catch to deployment listener