Fixed the bug when logger failed to log everything but didn't disply an error