File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 55import json
66import os
77import time
8+ import traceback
89from typing import Dict
910
1011from oci .data_science .models import (
@@ -434,16 +435,16 @@ def create(
434435
435436 if create_fine_tuning_details .watch_logs :
436437 logger .info (
437- f"Watching fine-tuning job run logs for { ft_job_run .id } . Press Ctrl+C stop watching logs.\n "
438+ f"Watching fine-tuning job run logs for { ft_job_run .id } . Press Ctrl+C to stop watching logs.\n "
438439 )
439440 try :
440441 ft_job_run .watch ()
441442 except KeyboardInterrupt :
442443 logger .info (f"\n Stopped watching logs for { ft_job_run .id } .\n " )
443444 time .sleep (1 )
444- except Exception as ex :
445+ except Exception :
445446 logger .debug (
446- f"Something unexpected occurred while watching logs.\n { str ( ex )} "
447+ f"Something unexpected occurred while watching logs.\n { traceback . format_exc ( )} "
447448 )
448449
449450 return AquaFineTuningSummary (
You can’t perform that action at this time.
0 commit comments