Issue #25860: os.fwalk() no longer skips remaining directories when error occurs.
Original patch by Samson Lee.
diff --git a/Lib/os.py b/Lib/os.py
index 2b89b93..13a42c3 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -514,7 +514,7 @@
             except OSError as err:
                 if onerror is not None:
                     onerror(err)
-                return
+                continue
             try:
                 if follow_symlinks or path.samestat(orig_st, stat(dirfd)):
                     dirpath = path.join(toppath, name)