Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4e774306
Commit
4e774306
authored
Jun 04, 2020
by
Olena Horal-Koretska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update text in error tracking list error message
parent
9149d54a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
14 deletions
+9
-14
app/assets/javascripts/error_tracking/store/list/actions.js
app/assets/javascripts/error_tracking/store/list/actions.js
+3
-11
changelogs/unreleased/37412-update-error-tracking-list-message.yml
...s/unreleased/37412-update-error-tracking-list-message.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+1
-3
No files found.
app/assets/javascripts/error_tracking/store/list/actions.js
View file @
4e774306
...
...
@@ -2,7 +2,7 @@ import Service from '../../services';
import
*
as
types
from
'
./mutation_types
'
;
import
createFlash
from
'
~/flash
'
;
import
Poll
from
'
~/lib/utils/poll
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
let
eTagPoll
;
...
...
@@ -31,17 +31,9 @@ export function startPolling({ state, commit, dispatch }) {
commit
(
types
.
SET_LOADING
,
false
);
dispatch
(
'
stopPolling
'
);
},
errorCallback
:
({
response
})
=>
{
let
errorMessage
=
''
;
if
(
response
&&
response
.
data
&&
response
.
data
.
message
)
{
errorMessage
=
response
.
data
.
message
;
}
errorCallback
:
()
=>
{
commit
(
types
.
SET_LOADING
,
false
);
createFlash
(
sprintf
(
__
(
`Failed to load errors from Sentry. Error message: %{errorMessage}`
),
{
errorMessage
,
}),
);
createFlash
(
__
(
'
Failed to load errors from Sentry.
'
));
},
});
...
...
changelogs/unreleased/37412-update-error-tracking-list-message.yml
0 → 100644
View file @
4e774306
---
title
:
Update text in error tracking list error message
merge_request
:
33872
author
:
type
:
fixed
locale/gitlab.pot
View file @
4e774306
...
...
@@ -8,8 +8,6 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-01 14:24-0400\n"
"PO-Revision-Date: 2020-06-01 14:24-0400\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
...
...
@@ -9264,7 +9262,7 @@ msgstr ""
msgid "Failed to load error details from Sentry."
msgstr ""
msgid "Failed to load errors from Sentry.
Error message: %{errorMessage}
"
msgid "Failed to load errors from Sentry."
msgstr ""
msgid "Failed to load group activity metrics. Please try again."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment