[ui] minor: on project load failure add the fullpath to the project file in the log

This commit is contained in:
Fabien Castan 2024-06-15 17:43:20 +02:00
parent d62f499db9
commit d2c3ac6e26

View file

@ -539,7 +539,7 @@ class Reconstruction(UIGraph):
""
)
)
logging.error("Error while loading '{}': No Such File.".format(os.path.basename(filepath)))
logging.error("Error while loading '{}': No Such File.".format(filepath))
return False
except Exception as e:
import traceback
@ -551,6 +551,7 @@ class Reconstruction(UIGraph):
trace
)
)
logging.error("Error while loading '{}'.".format(filepath))
logging.error(trace)
return False