 			chrome.extension.sendMessage data
 			return
 
-		onScheduleError: (params, status) =>
+		onScheduleError: (params, status, error) =>
 			log arguments
 			if status is 'parsererror'
 				params.action = 'setup'

									@onScheduleSuccess data
				error:			(jqXHR, textStatus, errorThrown) =>
									log arguments
									@onScheduleError data, textStatus
				complete:		(jqXHR, textStatus) ->
									resetIcon?()
			return

				window.open "#{@getServiceURL()}?#{query}", 'mailbutler', 'width=600,height=600,location=0,menubar=0,scrollbars=0,status=0,toolbar=0,resizable=1'
			else
				chrome.extension.sendMessage 
					error: error.toString()
			return

	mb = new MailButler
