mirror of https://github.com/aria2/aria2
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Log error in AccRequestGroup when reading BitTorrent/Metalink file is failed. Also fixed memory link when exception is thrown there. * src/main.cc (AccRequestGroup)pull/1/head
parent
cbc34b4e3a
commit
0f92203ffe
|
@ -1,3 +1,9 @@
|
||||||
|
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Log error in AccRequestGroup when reading BitTorrent/Metalink file is
|
||||||
|
failed. Also fixed memory link when exception is thrown there.
|
||||||
|
* src/main.cc (AccRequestGroup)
|
||||||
|
|
||||||
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Added build-in "Accept-Features" support. For now only "metalink" is
|
Added build-in "Accept-Features" support. For now only "metalink" is
|
||||||
|
|
|
@ -224,6 +224,8 @@ public:
|
||||||
} catch(RecoverableException* e) {
|
} catch(RecoverableException* e) {
|
||||||
// error occurred while parsing torrent file.
|
// error occurred while parsing torrent file.
|
||||||
// We simply ignore it.
|
// We simply ignore it.
|
||||||
|
LogFactory::getInstance()->error(EX_EXCEPTION_CAUGHT, e);
|
||||||
|
delete e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // ENABLE_BITTORRENT
|
#endif // ENABLE_BITTORRENT
|
||||||
|
@ -236,6 +238,8 @@ public:
|
||||||
} catch(RecoverableException* e) {
|
} catch(RecoverableException* e) {
|
||||||
// error occurred while parsing metalink file.
|
// error occurred while parsing metalink file.
|
||||||
// We simply ignore it.
|
// We simply ignore it.
|
||||||
|
LogFactory::getInstance()->error(EX_EXCEPTION_CAUGHT, e);
|
||||||
|
delete e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // ENABLE_METALINK
|
#endif // ENABLE_METALINK
|
||||||
|
|
Loading…
Reference in New Issue