From 76ac5308fdbe4f79a48ec870cdc8512825dda787 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Sat, 4 Apr 2020 13:27:03 +0200 Subject: [PATCH 1/2] Update README.md Added Status for hotio images. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 418c33ac4..18064e4c7 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ You can also make a wish but keep in mind that we do not commit to make it happe [![GitHub issues](https://img.shields.io/github/issues/morpheus65535/bazarr.svg?style=flat-square)](https://github.com/morpheus65535/bazarr/issues) [![GitHub stars](https://img.shields.io/github/stars/morpheus65535/bazarr.svg?style=flat-square)](https://github.com/morpheus65535/bazarr/stargazers) [![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/bazarr.svg?style=flat-square)](https://hub.docker.com/r/linuxserver/bazarr/) +[![Docker Pulls](https://img.shields.io/docker/pulls/hotio/bazarr.svg?style=flat-square)](https://hub.docker.com/r/hotio/bazarr/) [![Discord](https://img.shields.io/badge/discord-chat-MH2e2eb.svg?style=flat-square)](https://discord.gg/MH2e2eb) # Support From 635b865b2a59639e4df8f6b06f1316b26365ea50 Mon Sep 17 00:00:00 2001 From: Roberto Santalla Date: Wed, 22 Apr 2020 18:02:03 +0200 Subject: [PATCH 2/2] logging: show file error reason in log In case of an error occurs while saving subtitles, the cause for the error should be printed to the log file. Otherwise it becomes difficult to debug it. --- bazarr/get_subtitle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 232d62858..32c9610e4 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -207,7 +207,7 @@ def download_subtitle(path, language, audio_language, hi, forced, providers, pro path_decoder=force_unicode ) except Exception as e: - logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path) + logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path + ': ' + repr(e)) pass else: saved_any = True