Skip to content

Commit 2bca04d

Browse files
committed
Debug intercepted local url mappings
1 parent acb5f6f commit 2bca04d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ogc/bblocks/http_interceptor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def load_content(url: str):
7474
local_file = local_path / rel_path
7575
if not local_file.exists():
7676
raise IOError(f'Local file {local_file} for URL {url} from mapping {url_mapping} does not exist')
77+
print(f"Intercepted URL {url} -> {local_file}")
7778
with open(local_file, 'rb') as f:
7879
return f.read()
7980

0 commit comments

Comments
 (0)