Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
netvs-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
71
Issues
71
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scc-net
netvs
netvs-core
Commits
0b8f220e
Commit
0b8f220e
authored
Nov 19, 2020
by
Janis Streib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: show response data if availibale
parent
4adafff1
Pipeline
#118665
canceled with stages
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
frontend/src/main.js
frontend/src/main.js
+5
-1
No files found.
frontend/src/main.js
View file @
0b8f220e
...
...
@@ -307,7 +307,11 @@ async function init() {
}
window
.
addEventListener
(
'
unhandledrejection
'
,
function
(
event
)
{
window
.
console
.
debug
(
'
unhanldedrejection handler triggered
'
)
EventBus
.
$emit
(
'
error
'
,
event
.
reason
)
if
(
'
response
'
in
event
.
reason
)
{
EventBus
.
$emit
(
'
error
'
,
event
.
reason
.
response
.
data
)
}
else
{
EventBus
.
$emit
(
'
error
'
,
event
.
reason
)
}
})
Axios
.
interceptors
.
response
.
use
(
function
(
response
)
{
...
...
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