repair: catch and print all errors