I was somehow lucky in that my problematic channel received enough new messages so that the problematic one is now far enough in the past and won't get loaded initially. So that makes that channel usable again but the problem of course still persists and it would be nice to address both issues:
- The JS error with its stacktrace printed above
- The display of the GitLab messages - well that might be solved automatically by solving the first one