Skip to content
Snippets Groups Projects
Commit 14dc008a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

error handling improved

parent 7d22b68b
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -47,11 +47,8 @@ describe('PublicationListDialog', function() {
});
}).then(function() {
assert.ok(callbackCalled);
}).finally(function() {
dialog.destroy();
}).catch(function(exception) {
dialog.destroy();
logger.error(exception);
assert.ok(false);
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment