Skip to content

Commit

Permalink
Move print message up to not invoke error. (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dkurokawa authored Nov 6, 2024
1 parent 4ffcbae commit 10bf1b7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,12 @@ def _init_with_snowpark_session(
self.db.get_db_revision(),
),
)
print(f"Set TruLens workspace version tag: {res}")
except Exception as e:
print(
f"Error setting TruLens workspace version tag: {e}, check if you have enterprise version of Snowflake."
)

print(f"Set TruLens workspace version tag: {res}")

def _set_up_database_args(
self,
database_args: Dict[str, Any],
Expand Down

0 comments on commit 10bf1b7

Please sign in to comment.