7 lines
254 B
Python
7 lines
254 B
Python
import sys
|
|
try:
|
|
file_path = sys.argv[1] if len(sys.argv) > 1 else 'company-explorer/logs_debug/company_explorer_debug.log'
|
|
with open(file_path, 'r') as f:
|
|
print(f.read())
|
|
except Exception as e:
|
|
print(f"Error reading {file_path}: {e}") |