mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-05 18:20:41 -08:00
Improve logging of errors caused by localised strings that have been incorrectly translated
This commit is contained in:
parent
0bea79e9f4
commit
36e2809028
1 changed files with 3 additions and 2 deletions
|
|
@ -684,8 +684,9 @@ class XbmcContext(AbstractContext):
|
||||||
return result % _args
|
return result % _args
|
||||||
except TypeError:
|
except TypeError:
|
||||||
self.log.exception(('Localization error',
|
self.log.exception(('Localization error',
|
||||||
'text_id: {text_id!r}',
|
'String: {result!r} ({text_id!r})',
|
||||||
'args: {original_args!r}'),
|
'args: {original_args!r}'),
|
||||||
|
result=result,
|
||||||
text_id=text_id,
|
text_id=text_id,
|
||||||
original_args=args)
|
original_args=args)
|
||||||
return result
|
return result
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue