print potential errors after script execution