Skip to content

Commit

Permalink
CHE-1369: fix events parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
  • Loading branch information
Alexander Garagatyi committed Aug 3, 2016
1 parent e77e4ba commit a1a0c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/api/che-websocket.factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class MessageBus { // jshint ignore:line
if (subscribers) {
subscribers.forEach((subscriber) => {
try {
subscriber(JSON.parse(jsonMessage.body));
subscriber(angular.fromJson(jsonMessage.body));
} catch (e) {
subscriber(jsonMessage.body);
}
Expand Down

0 comments on commit a1a0c3c

Please sign in to comment.