Made it do something if there is an error in code