From b4e5ae43121b2b1c5d09149b0a5b8dd670fd9977 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 16 Oct 2014 11:43:34 +0200 Subject: changed some throw new to throw (caused stopping of crawler with an unknown exception) --- src/modules/fetcher/winhttp/WinHttpFetcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/fetcher/winhttp/WinHttpFetcher.cpp') diff --git a/src/modules/fetcher/winhttp/WinHttpFetcher.cpp b/src/modules/fetcher/winhttp/WinHttpFetcher.cpp index 5c8839d..19227f1 100755 --- a/src/modules/fetcher/winhttp/WinHttpFetcher.cpp +++ b/src/modules/fetcher/winhttp/WinHttpFetcher.cpp @@ -17,7 +17,7 @@ WinHttpFetcher::WinHttpFetcher( ) if( !m_session ) { std::ostringstream ss; ss << "Error creating WinHttp session: " << getLastError( ); - throw new std::runtime_error( ss.str( ) ); + throw std::runtime_error( ss.str( ) ); } } -- cgit v1.2.3-54-g00ecf