Skip to content

Commit

Permalink
update print exception on data collector script
Browse files Browse the repository at this point in the history
  • Loading branch information
p-ferreira committed Aug 31, 2023
1 parent 1f3dfb1 commit c17894a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/data_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ def create_mining_dataset(
with_score=export_mining_with_scoring_dataset,
export_openai_dataset=export_openai_dataset
)
except Exception as e:
bt.logging.error("Error in training loop", str(e))
bt.logging.debug(print_exception(value=e))
except Exception as err:
bt.logging.error("Error in data collector execution", str(err))
bt.logging.debug(print_exception(type(err), err, err.__traceback__))

0 comments on commit c17894a

Please sign in to comment.