241
Python and Java API / Re: Get fail logs from Metashape with python script?
« on: April 11, 2019, 12:00:46 AM »
You can setup a log file in the preferences of Metashape.
You can also simply write your exception to a file:
log_file = open('C:/error_log.txt','w+') (use 'a' to append an existing file)
log_file.write("error happened")
log_file.close()
You can also simply write your exception to a file:
log_file = open('C:/error_log.txt','w+') (use 'a' to append an existing file)
log_file.write("error happened")
log_file.close()