Commit 4983b862 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Catch TypeError instead of AttributeError for empty label prefix

parent a2363ee9
......@@ -48,7 +48,7 @@ class Mover:
extra={'entity': self.current_owner}
)
exit(2)
except AttributeError as e:
except TypeError as e:
pass
if len(self.labels) < 1:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment