Skip to content

Commit

Permalink
set_trace
Browse files Browse the repository at this point in the history
  • Loading branch information
laian committed Jun 26, 2017
1 parent a1c02c0 commit feb32ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibis/impala/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ def _sleep_interval(start_time):
while True:
state = cur.status()
if self._cursor._op_state_is_error(state):
import ipdb; ipdb.set_trace();
raise OperationalError(self._cursor.cursor_log())
raise OperationalError(self._cursor.get_log())
if not cur._op_state_is_executing(state):
break
time.sleep(_sleep_interval(loop_start))
Expand Down

0 comments on commit feb32ee

Please sign in to comment.