BUGFIX handle error conditions of poll
1 file changed