kopia lustrzana https://github.com/OpenDroneMap/ODM
Display errors
rodzic
c4a974bdf3
commit
276e53ba80
|
@ -67,8 +67,8 @@ def rectify(lasFile, debug=False, reclassify_threshold=5, min_area=750, min_poin
|
|||
system.run(' '.join(cmd))
|
||||
os.remove(tempLasFile)
|
||||
|
||||
except:
|
||||
raise Exception("Error rectifying ground in file %s" % lasFile)
|
||||
except Exception as e:
|
||||
raise Exception("Error rectifying ground in file %s: %s" % (lasFile, str(e)))
|
||||
|
||||
log.ODM_INFO('Created %s in %s' % (os.path.relpath(lasFile), datetime.now() - start))
|
||||
return lasFile
|
||||
|
|
Ładowanie…
Reference in New Issue