Skip to content

Commit 70ff513

Browse files
fix server error handling
1 parent 135977d commit 70ff513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiremock/server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def start(self):
4747
if self.__subprocess.poll() is not None:
4848
# Process complete - server not started
4949
raise WireMockServerNotStartedError(
50-
"\n".join(["returncode: {}".format(self.__subprocess.returncode), "stdout:", self.__subprocess.stdout.read()])
50+
"\n".join(["returncode: {}".format(self.__subprocess.returncode), "stdout:", str(self.__subprocess.stdout.read())])
5151
)
5252

5353
atexit.register(self.stop, raise_on_error=False)

0 commit comments

Comments
 (0)