Skip to content

Commit b55d4b8

Browse files
authored
Show module.py path for any error in script execution (#214)
* Show module.py path for any error in script execution * Version upgrade
1 parent d2911e7 commit b55d4b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.17
1+
1.1.18

mlc/script_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def call_script_module_function(self, function_name, run_args):
279279

280280
if result['return'] > 0:
281281
error = result.get('error', "")
282-
raise ScriptExecutionError(f"Script {function_name} execution failed. Error : {error}")
282+
raise ScriptExecutionError(f"Script {function_name} execution failed in {module_path}. \nError : {error}")
283283

284284
if str(run_args.get("mlc_output")).lower() in ["on", "true", "yes", "1"]:
285285
with open("tmp-state.json", "w") as f:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mlcflow"
7-
version = "1.1.17"
7+
version = "1.1.18"
88

99
description = "An automation interface tailored for CPU/GPU benchmarking"
1010
authors = [

0 commit comments

Comments
 (0)