➖ Removing double log issue with client-tester
➕ Moving Messages struct in db-lib to root for less namespacing uglyness ➖ Removing an whole unused trait ✨ Message::get_time_range now returns a special 'UserMessage' struct that includes the name of the author ❗ More code must be removed from db-lib since a ton of the trait methods aren't used anymore
This commit is contained in:
@@ -84,10 +84,6 @@ class Worker:
|
||||
for key in ids:
|
||||
self.responses[key].log()
|
||||
|
||||
# Logg the provided data to ensure that _it_ wasn't the cause for error
|
||||
resp = self.responses[key]
|
||||
if resp.code != resp.expected:
|
||||
self.responses[key].log()
|
||||
# if body is request to be shown then dump it tabbed out by 1 tab
|
||||
if self.body_logs[key] is True:
|
||||
print(f'\tBody: {self.responses[key].body}')
|
||||
|
||||
Reference in New Issue
Block a user