[GRASS-user] Get error output on pyhon console

Hi again folks, im trying to run a simple command and it gives an error:

g.run_command(‘d.vect’, map=‘bore0@Map’)
Traceback (most recent call last):
File “”, line 1, in
File “C:\Program Files (x86)\GRASS GIS 7.0.2\etc\python\grass\script\core.py”, line 394, in run_command
return handle_errors(returncode, returncode, args, kwargs)
File “C:\Program Files (x86)\GRASS GIS 7.0.2\etc\python\grass\script\core.py”, line 312, in handle_errors
returncode=returncode)
CalledModuleError: Module run None [‘d.vect’, ‘map=bore0@Map’] ended with error
Process ended with non-zero return code 1. See errors in the (error) output.

How can i get the error output? or a more detailed error?
Tnks,
Alec.