Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hive-js
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hive-js
Commits
d21990cf
Commit
d21990cf
authored
3 years ago
by
Jason Salyers
Browse files
Options
Downloads
Patches
Plain Diff
[JES] Return a response instead of just a blank string. Condenser seems happy with either
parent
fb1c52bb
No related branches found
No related tags found
1 merge request
!27
[JES] Try and examine the error message to see if it's an actual error or not....
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/api/transports/http.js
+1
-1
1 addition, 1 deletion
src/api/transports/http.js
with
1 addition
and
1 deletion
src/api/transports/http.js
+
1
−
1
View file @
d21990cf
...
@@ -50,7 +50,7 @@ export function jsonRpc(uri, {method, id, params, fetchMethod=fetch}) {
...
@@ -50,7 +50,7 @@ export function jsonRpc(uri, {method, id, params, fetchMethod=fetch}) {
{
{
//hivemind returns an error when tags aren't found, but it's not really an error
//hivemind returns an error when tags aren't found, but it's not really an error
//because the http return code was ok, so just return an empty response instead
//because the http return code was ok, so just return an empty response instead
return
""
;
return
"
{
\"
id
\"
:
"
+
rpcRes
.
id
+
"
,
\"
result
\"
:[],
\"
jsonrpc
\"
:
\"
2.0
\"
}
"
;
}
}
throw
new
RPCError
(
rpcRes
.
error
);
throw
new
RPCError
(
rpcRes
.
error
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment