#3320: Don't raise error when log.warn is enough
----------------------+-------------------
Reporter: jools772 | Type: bug
Status: new | Priority: minor
Milestone: 2.0.4 | Component: Core
Version: 2.0.0 | Keywords:
----------------------+-------------------
12:40:45 [ERROR ][deluge.ui.client :169 ] RPCError Message
Received!
--------------------------------------------------------------------------------
RPCRequest:
core.add_torrent_magnet(magnet:?xt=urn:btih:303e9fb0cd3a673675f37c5a0cc4fd9c9173c707&dn=Mana+-+Amar+Es+Combatir+%28Deluxe+Limited+Edition%29+%5B2007%5D+-+Pop&tr=udp%3A%2F%
2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%
2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%
2Ftracker.ccc.de%3A80,
{'add_paused': False, 'remove_at_ratio': False})
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line
326, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 571, in
add_torrent_magnet
return self.torrentmanager.add(magnet=uri, options=options)
File "/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py",
line 537, in add
torrent_info, magnet, options, resume_data
File "/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py",
line 446, in _build_torrent_params
raise AddTorrentError('Torrent already in session (%s).' % torrent_id)
deluge.error.AddTorrentError: Torrent already in session
(303e9fb0cd3a673675f37c5a0cc4fd9c9173c707).
AddTorrentError: Torrent already in session
(303e9fb0cd3a673675f37c5a0cc4fd9c9173c707).
--------------------------------------------------------------------------------
12:40:45 [ERROR ][deluge.ui.web.json_api :185 ] [Failure instance:
Traceback (failure with no frames): <class
'deluge.error.AddTorrentError'>: Torrent already in session
(303e9fb0cd3a673675f37c5a0cc4fd9c9173c707).
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3320>
Deluge <https://deluge-torrent.org/>
Deluge Project