(*args, **kwargs)
| 498 | |
| 499 | @wraps(func) |
| 500 | def wrapper(*args, **kwargs): |
| 501 | try: |
| 502 | return func(*args, **kwargs) |
| 503 | except Exception as e: |
| 504 | print("Caught error - reprinting and reraising") |
| 505 | print("-" * 80) |
| 506 | print(e) |
| 507 | traceback.print_exc() |
| 508 | print("-" * 80) |
| 509 | raise |
| 510 | |
| 511 | return wrapper |
nothing calls this directly
no outgoing calls
no test coverage detected