Added exception handling to Web Application sync