diff --git a/func_timeout/exceptions.py b/func_timeout/exceptions.py index cd0d130..0a3a3ae 100644 --- a/func_timeout/exceptions.py +++ b/func_timeout/exceptions.py @@ -73,7 +73,7 @@ def getMsg(self): else: timedOutAfterStr = "Unknown" - return 'Function %s (args=%s) (kwargs=%s) timed out after %s seconds.\n' %(timedOutFuncName, repr(self.timedOutArgs), repr(self.timedOutKwargs), timedOutAfterStr) + return 'Function %s (args=%s) (kwargs=%s) timed out after %s seconds. ' %(timedOutFuncName, repr(self.timedOutArgs), repr(self.timedOutKwargs), timedOutAfterStr) def retry(self, timeout=RETRY_SAME_TIMEOUT): '''