Catch exceptions wherever app name could be UTF