Add bracket_sh to the list of exception handling functions
Remove trailing whitespaces