Skip to content

Commit

Permalink
Fix error handling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wtakase committed Feb 26, 2017
1 parent 6c952d3 commit dd50991
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RequestHeader set X-Proxy-User %{REMOTE_USER}s
* Kibana 4

```
bin/kibana plugin -i own_home -u https://github.com/wtakase/kibana-own-home/releases/download/v4.6.4-2/own_home-4.6.4-2.zip
bin/kibana plugin -i own_home -u https://github.com/wtakase/kibana-own-home/releases/download/v4.6.4-3/own_home-4.6.4-3.zip
```

## Options
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "own_home",
"version": "4.6.4-2",
"version": "4.6.4-3",
"description": "This plugin adds multi-tenancy feature to Kibana. A user can have own personal kibana.index so that objects the user created are stored in the index. And also group shared kibana.index can be provided. A user can switch kibana.index depending on the situation by selecting on the plugin interface. kibana.index list will be generated based on username, local group definition in kibana.yml, and LDAP roles.",
"main": "index.js",
"kibana": {
Expand Down
3 changes: 0 additions & 3 deletions server/proxy/init_proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ module.exports = function(kbnServer) {
if (payload['status'] === 409) {
reply(Boom.conflict('plugin:own-home: document_already_exists_exception'));
return;
} else {
reply(Boom.badRequest('plugin:own-home: unhandled error'));
return;
}
}
reply(payload);
Expand Down

0 comments on commit dd50991

Please sign in to comment.