I'd say this: If you feel like you can bring this up with your management/co-workers and they will help work through it with you, it might be possible to stay.
If this doesn't even seem like they'd be compassionate towards your very legitimate issues, then you probably don't have a lot of great longterm reasons to stay.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've definitely felt this way at times.
I'd say this: If you feel like you can bring this up with your management/co-workers and they will help work through it with you, it might be possible to stay.
If this doesn't even seem like they'd be compassionate towards your very legitimate issues, then you probably don't have a lot of great longterm reasons to stay.