Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
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
0
Merge Requests
0
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
Yaxel Perez
jio
Commits
dca32117
Commit
dca32117
authored
Jul 02, 2018
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[cloudooo] error 500
parent
75ad4abd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/jio.storage/cloudooostorage.js
src/jio.storage/cloudooostorage.js
+1
-1
test/jio.storage/cloudooostorage.tests.js
test/jio.storage/cloudooostorage.tests.js
+1
-1
No files found.
src/jio.storage/cloudooostorage.js
View file @
dca32117
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
to
to
);
);
}
}
error
=
new
jIO
.
util
.
jIOError
(
'
Conversion failed
'
,
418
);
error
=
new
jIO
.
util
.
jIOError
(
'
Conversion failed
'
,
500
);
error
.
detail
=
data
.
getElementsByTagName
(
'
string
'
)[
0
].
textContent
;
error
.
detail
=
data
.
getElementsByTagName
(
'
string
'
)[
0
].
textContent
;
throw
error
;
throw
error
;
});
});
...
...
test/jio.storage/cloudooostorage.tests.js
View file @
dca32117
...
@@ -326,7 +326,7 @@
...
@@ -326,7 +326,7 @@
'
<param><value><string>docy
'
+
'
<param><value><string>docy
'
+
'
</string></value></param></params></methodCall>
'
'
</string></value></param></params></methodCall>
'
);
);
equal
(
error
.
status_code
,
418
);
equal
(
error
.
status_code
,
500
);
equal
(
error
.
message
,
'
Conversion failed
'
);
equal
(
error
.
message
,
'
Conversion failed
'
);
equal
(
error
.
detail
,
'
errorFromCloudooo
'
);
equal
(
error
.
detail
,
'
errorFromCloudooo
'
);
})
})
...
...
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