diff --git a/parsers.py b/parsers.py
index 400359880ff0f6e77192b44ed903888187b84373..91fc76366a3053b4ac42d21cdd134586b54fcb3c 100644
--- a/parsers.py
+++ b/parsers.py
@@ -205,7 +205,7 @@ class ShoppingBenchTaskParsers:
                 raise SyntaxError(
                     "Unexpected Syntax error - fall back to comma separated list."
                 )
-        except SyntaxError as e:
+        except Exception as e:
             # Fallback: split the string by commas and strip whitespace.
             # we remove empty entities. it will not cause bug, just an implementation choice.
             return [