Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <hkawamura0130@gmail.com>
  • Loading branch information
harupy committed Sep 3, 2021
1 parent 6dfffa0 commit c4966cf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mlflow/utils/_capture_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ def main():
initialize_spark_connection()
except Exception as e:
raise Exception(
(
"Attempted to initialize a spark session to load the spark model for "
"the requirement inference but failed"
)
"Attempted to initialize a spark session to load the spark model, but failed"
) from e

cap_cm = _CaptureImportedModules()
Expand Down

0 comments on commit c4966cf

Please sign in to comment.