adding exception information to migration