fix indentation in case of exception inside `indent`