Svn error handling

Added SVN error handling.