Skip to content

Navigation Menu

Sign in
Sign up

Wrap object handler in try...except - #40

Open
robert-nix wants to merge 1 commit into
HearthSim:master from
robert-nix:unityextract-continue-on-error
Open

Wrap object handler in try...except #40
robert-nix wants to merge 1 commit into
HearthSim:master from
robert-nix:unityextract-continue-on-error

Conversation

@robert-nix

@robert-nix robert-nix commented Apr 3, 2017

Copy link
Copy Markdown
Contributor

Currently if you do something like unityextract --images *.unity3d in Hearthstone/Data/Win it'll break on a few objects due to library/unity default resources being missing; it's nice to be able to continue extraction when that happens.

Copy link
Copy Markdown
Member

There's too much stuff going on here. If you update this to just be a try ... except Exception: with a sys.stderr.write instead of print() I can merge it, otherwise leaving it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /