Fix catch callback

This commit is contained in:
Scott Erickson 2016-07-07 16:19:11 -07:00
parent 21cd890bfa
commit ecde42f356

View file

@ -114,7 +114,7 @@ module.exports = class BasicInfoView extends CocoView
@state.set({ checkNameState: 'exists', suggestedNameText })
else
@state.set { checkNameState: 'available' }
.catch (error) ->
.catch (error) =>
@state.set('checkNameState', 'standby')
throw error
)