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
9ea0202e
Commit
9ea0202e
authored
Jan 05, 2021
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sentry trigger to action_component
parent
9e58ebb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app/assets/javascripts/pipelines/components/graph/action_component.vue
...vascripts/pipelines/components/graph/action_component.vue
+4
-1
No files found.
app/assets/javascripts/pipelines/components/graph/action_component.vue
View file @
9ea0202e
...
@@ -4,6 +4,7 @@ import axios from '~/lib/utils/axios_utils';
...
@@ -4,6 +4,7 @@ import axios from '~/lib/utils/axios_utils';
import
{
dasherize
}
from
'
~/lib/utils/text_utility
'
;
import
{
dasherize
}
from
'
~/lib/utils/text_utility
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
deprecatedCreateFlash
as
createFlash
}
from
'
~/flash
'
;
import
{
deprecatedCreateFlash
as
createFlash
}
from
'
~/flash
'
;
import
{
reportToSentry
}
from
'
./utils
'
;
/**
/**
* Renders either a cancel, retry or play icon button and handles the post request
* Renders either a cancel, retry or play icon button and handles the post request
...
@@ -70,10 +71,12 @@ export default {
...
@@ -70,10 +71,12 @@ export default {
this
.
$emit
(
'
pipelineActionRequestComplete
'
);
this
.
$emit
(
'
pipelineActionRequestComplete
'
);
})
})
.
catch
(()
=>
{
.
catch
((
err
)
=>
{
this
.
isDisabled
=
false
;
this
.
isDisabled
=
false
;
this
.
isLoading
=
false
;
this
.
isLoading
=
false
;
reportToSentry
(
'
action_component
'
,
err
);
createFlash
(
__
(
'
An error occurred while making the request.
'
));
createFlash
(
__
(
'
An error occurred while making the request.
'
));
});
});
},
},
...
...
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