aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-10-17 10:26:46 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-10-17 10:26:46 +0200
commit8ce7411bc08f0be3e75287d06b8356c103a014e2 (patch)
tree6f47d2710d37584271df0118605673d3d4d5cc84
parentd627b9f1823d777a7682641a76bb68d2b65e4ec7 (diff)
downloadjustice-8ce7411bc08f0be3e75287d06b8356c103a014e2.tar.gz
improved error message
-rw-r--r--download_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/download_files.py b/download_files.py
index 3addec3..ba99305 100644
--- a/download_files.py
+++ b/download_files.py
@@ -21,7 +21,7 @@ def download_list_filenames():
# print("Downloading file ", source)
download.raise_for_status()
except Exception as exc:
- print("There was a problem: %s" % (exc))
+ print("There was a problem: %s. Please check whether https://dataor.justice.cz is online. If not, try again later." % (exc))
return None
return download