Display error message when migration fails

Change-Id: I8d73ed2d04b9c363290206a73992f460fc0c353e