Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
resolves issue where response_handler was unable to parse compilation…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
joeferraro committed Sep 7, 2016
1 parent 04c8764 commit 76d7481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/response_handler.py
Expand Up @@ -274,11 +274,11 @@ def __handle_compile_response(self, **kwargs):
debug(detail)
line_col = ''
line, col = 1, 1
if 'lineNumber' in detail:
if 'lineNumber' in detail and detail['lineNumber'] != None:
line = int(detail['lineNumber'])
line_col = ' (Line: '+str(line)
util.mark_line_numbers(self.thread.view, [line], 'bookmark')
if 'columnNumber' in detail:
if 'columnNumber' in detail and detail['columnNumber'] != None:
col = int(detail['columnNumber'])
line_col += ', Column: '+str(col)
if len(line_col):
Expand Down

0 comments on commit 76d7481

Please sign in to comment.