Skip to content

Commit

Permalink
Add logging back and add .settings to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
nick863 committed Jul 11, 2024
1 parent 96fd9fb commit abca0e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ src/promptflow-*/promptflow/__init__.py
# Eclipse project files
**/.project
**/.pydevproject
**/.settings

# benchmark results
benchmark/promptflow-serve/test_runner/locust-results/
4 changes: 2 additions & 2 deletions src/promptflow-evals/promptflow/evals/evaluate/_eval_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
# in local mode and MLClient in the constructor will be None, so
# we will not arrive to Azure-dependent code.

# We are not logging the import failure because
# We are logging the import failure only if debug logging level is set because:
# - If the project configuration was not provided this import is not needed.
# - If the project configuration was provided, the error will be raised by PFClient.
pass
LOGGER.debug("promptflow.azure is not installed.")


@dataclasses.dataclass
Expand Down

0 comments on commit abca0e9

Please sign in to comment.