Former-commit-id: 276e53ba80
pull/1161/head
Piero Toffanin 2020-03-10 03:37:24 +00:00
rodzic 314acaf03d
commit 12cf1c2616
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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