fix js tests

This commit is contained in:
Arpit Jalan 2015-11-24 19:08:54 +05:30
parent 362c515f33
commit cbdc613177
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export default Discourse.Route.extend({
} else {
bootbox.alert(I18n.t("composer.cant_send_pm", {username: user.username}));
}
}).catch((error) => {
}).catch(() => {
bootbox.alert(I18n.t("generic_error"));
});
});