`Environments|` is visible in a logs error message

Summary

On error we see a wrong message with the namespace: Environments|

Steps to reproduce

When logs fail:

Screen_Shot_2019-11-12_at_10.25.47_AM

Example Project

The monitor sandbox at the moment doesn't load logs.

https://staging.gitlab.com/gitlab-org/monitor/monitor-sandbox/environments/180571/logs

What is the current bug behavior?

The message has the namespace: Environments|.

What is the expected correct behavior?

The message does not have the namespace: Environments|.

Possible fixes

Use s__ instead of __

Edited Nov 12, 2019 by Miguel Rincon
Assignee Loading
Time tracking Loading