Add error handling to Awesome.