Skip to content

Commit

Permalink
changed error message in response to review.
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Oct 27, 2021
1 parent 1dfd7d3 commit 3fd6304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/rose/platform_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def get_platform_from_task_def(
platform = get_platform(task_spec)
if platform is None:
raise PlatformLookupError(
'Platform lookup failed because the platform definition for'
f' task {task} is {task_spec["platform"]}.'
'Platform lookup failed; platform is a subshell to be evaluated: '
f' Task: {task}, platform: {task_spec["platform"]}.'
)
return platform

Expand Down

0 comments on commit 3fd6304

Please sign in to comment.