Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt

Use this file to discover all available pages before exploring further.

기본적으로 Weave의 .call() 메서드는 예외를 발생시키는 대신 예외를 캡처해 call.exception에 저장합니다. 이는 정상적인 동작입니다. 실행 중에 예외를 발생시켜야 한다면 __should_raise 매개변수를 설정하세요:
result, call = my_op.call(__should_raise=True)
__should_raise=True가 없으면 op 실행 중 발생하는 모든 예외는 별도 알림 없이 캡처되어 저장됩니다. 오류를 확인하려면 call.exception을 확인하세요:
result, call = my_op.call()
if call.exception:
    print(f"Op failed with: {call.exception}")
자세한 내용은 제한 사항 및 예상되는 동작을 참조하세요.
트레이스 데이터