Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
sickrage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SiCKRAGE
sickrage
Commits
897f24c3
Commit
897f24c3
authored
Jan 10, 2021
by
echel0n
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue with logging exceptions, KeyError 'exc_info'
parent
3f15163f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
sickrage/core/logger/__init__.py
sickrage/core/logger/__init__.py
+2
-1
sickrage/core/upnp.py
sickrage/core/upnp.py
+2
-2
sickrage/search_providers/torrent/speedcd.py
sickrage/search_providers/torrent/speedcd.py
+1
-1
No files found.
sickrage/core/logger/__init__.py
View file @
897f24c3
...
...
@@ -254,7 +254,8 @@ class Logger(logging.getLoggerClass()):
super
(
Logger
,
self
).
exception
(
msg
,
*
args
,
**
kwargs
)
def
error
(
self
,
msg
,
*
args
,
**
kwargs
):
super
(
Logger
,
self
).
error
(
msg
,
exc_info
=
1
,
*
args
,
**
kwargs
)
kwargs
[
'exc_info'
]
=
True
super
(
Logger
,
self
).
error
(
msg
,
*
args
,
**
kwargs
)
def
warning
(
self
,
msg
,
*
args
,
**
kwargs
):
super
(
Logger
,
self
).
warning
(
msg
,
*
args
,
**
kwargs
)
...
...
sickrage/core/upnp.py
View file @
897f24c3
...
...
@@ -75,9 +75,9 @@ class UPNPClient(object):
# https://tools.ietf.org/id/draft-ietf-pcp-upnp-igd-interworking-07.html#errors
sickrage
.
app
.
log
.
debug
(
"UPnP port mapping already configured, not overriding it"
)
else
:
sickrage
.
app
.
log
.
exception
(
"Failed to add UPnP portmap"
)
sickrage
.
app
.
log
.
debug
(
"Failed to add UPnP portmap"
)
except
Exception
:
sickrage
.
app
.
log
.
exception
(
"Failed to add UPnP portmap"
)
sickrage
.
app
.
log
.
debug
(
"Failed to add UPnP portmap"
)
def
_add_nat_portmap
(
self
,
upnp_dev
):
# internal_ip = self._find_internal_ip_on_device_network(upnp_dev)
...
...
sickrage/search_providers/torrent/speedcd.py
View file @
897f24c3
...
...
@@ -167,6 +167,6 @@ class SpeedCDProvider(TorrentProvider):
sickrage
.
app
.
log
.
debug
(
"Found result: {}"
.
format
(
title
))
except
(
AttributeError
,
TypeError
,
KeyError
,
ValueError
,
IndexError
):
sickrage
.
app
.
log
.
e
xception
(
'Failed parsing provider.'
)
sickrage
.
app
.
log
.
e
rror
(
'Failed parsing provider.'
)
return
results
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment