Skip to content

Commit

Permalink
Fix #869: improve diagnostics if mlaunch fails to launch mongod
Browse files Browse the repository at this point in the history
  • Loading branch information
p authored and stennie committed Oct 3, 2022
1 parent 2432473 commit b8677a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtools/mlaunch/mlaunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def check_mongo_server_output(binary, argument):
stderr=subprocess.STDOUT,
stdout=subprocess.PIPE, shell=False)
except OSError as exc:
print('Failed to launch %s' % binary)
print('Failed to launch %s: %s' % (binary, exc))
raise exc

out, err = proc.communicate()
Expand Down

1 comment on commit b8677a0

@stennie
Copy link
Collaborator

@stennie stennie commented on b8677a0 Oct 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, this should actually have been fixing #867

Please sign in to comment.