sketchfab / ksp-exporter

8 stars 3 forks source link

[#103289166] Adds and prints debug data #7

Open marchelbling opened 9 years ago

marchelbling commented 9 years ago

It's always a bit dangerous to manually set attributes like self.current_file but the current architecture might not allow something cleaner. So reading your code, the only failures we can have are for textures and mu files. Nothing about cfg? how would that be reported? No other possible failures?

AurL commented 9 years ago

The failure can be everywhere. I added the filenames for the 3 types files we actually read: cfg, .mu and textures.

The most important is the stack trace. The filenames are only here to give more details and spot potentially bad files within the assets.

AurL commented 9 years ago

@mrchlblng can you check when you have time please? I added the debug log file

marchelbling commented 9 years ago

Please add a but of "documentation" telling what is the logic on string within the exporter