fix in data import tool during msg display
This commit is contained in:
parent
edd058792f
commit
79bbd1595c
1 changed files with 2 additions and 1 deletions
|
|
@ -167,7 +167,8 @@ def upload():
|
|||
ret.append(import_doc(d, doctype, overwrite, row_idx))
|
||||
except Exception, e:
|
||||
error = True
|
||||
ret.append('Error for row (#%d) %s : %s' % (row_idx, row[1], cstr(e)))
|
||||
ret.append('Error for row (#%d) %s : %s' % (row_idx,
|
||||
len(row)>1 and row[1] or "", cstr(e)))
|
||||
webnotes.errprint(webnotes.getTraceback())
|
||||
|
||||
if error:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue