Removes a new line (\n) symbol that is messing the logged Exception error message
Logs should be recorded in a single line, but this Exceptions is generating error messages with the new line symbol, that is breaking the message, leading to 2 lines error messages in the logs.
This commit is contained in:
parent
50baa8db50
commit
45e0822fe2
@ -73,7 +73,7 @@ class FunctionTimedOut(BaseException):
|
||||
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):
|
||||
'''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user