Skip to content

Commit

Permalink
Import invalid sample error change (hyperledger-archives#540)
Browse files Browse the repository at this point in the history
Import invalid sample error change
  • Loading branch information
Jakeeyturner authored Mar 21, 2017
1 parent 40feae5 commit d1159d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export class ImportComponent implements OnInit {
this.expandInput = true;
})
.catch((error) => {
this.alertService.errorStatus$.next(error);
let failMessage = "Cannot import an invalid Business Network Definition. Found "+error.toString();;
this.alertService.errorStatus$.next(failMessage);
this.expandInput = false;
});
};
Expand Down

0 comments on commit d1159d1

Please sign in to comment.