We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ada270 commit 67928f1Copy full SHA for 67928f1
1 file changed
gnssanalysis/gn_download.py
@@ -867,8 +867,9 @@ def download_file_from_cddis(
867
download_filepath.unlink()
868
raise
869
backoff = _random.uniform(0.0, 2.0 ** retries)
870
- logging.warning(f"Error downloading {filename}: {e} "
871
- f"(retry {retries}/{max_retries}, backoff {backoff:.1f}s)")
+ _warnings.warn(
+ f"Error downloading {filename}: {e} " f"(retry {retries}/{max_retries}, backoff {backoff:.1f}s)"
872
+ )
873
_time.sleep(backoff)
874
875
raise Exception("Unexpected fallthrough in download_file_from_cddis.")
0 commit comments