Remove unused import
Remove use of deprecated Exception.message attr