diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-16 11:43:34 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-16 11:43:34 +0200 |
commit | b4e5ae43121b2b1c5d09149b0a5b8dd670fd9977 (patch) | |
tree | a8eee73a5e699c6c1f99f0c54b481bbc62b62af9 /src/modules/fetcher/winhttp/WinHttpFetcher.cpp | |
parent | e0d3f4543c01fcee02986f18e937ba16772e2e3b (diff) | |
download | crawler-b4e5ae43121b2b1c5d09149b0a5b8dd670fd9977.tar.gz crawler-b4e5ae43121b2b1c5d09149b0a5b8dd670fd9977.tar.bz2 |
changed some throw new to throw (caused stopping of crawler with an unknown exception)
Diffstat (limited to 'src/modules/fetcher/winhttp/WinHttpFetcher.cpp')
-rwxr-xr-x | src/modules/fetcher/winhttp/WinHttpFetcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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( ) ); } } |