Homec4science

Fix exception when encoding is not defined

Authored by Jason Ge <jungejason@fb.com> on Nov 3 2011, 05:36.

Description

Fix exception when encoding is not defined

Summary:
the code tries to access 'encoding' property even when the
repository is empty. The fix is to set it to null in that case.

Test Plan: run the conduit method on my sandbox and it works now.

Reviewers: grglr, epriestley, nh

Reviewed By: grglr

CC: aran, grglr

Differential Revision: 1075

Details

Committed
Jason Ge <jungejason@fb.com>Nov 3 2011, 05:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf1de90d7ef4a: Mark person that actually runs `arc commit` as committer instead of the author.
Branches
Unknown
Tags
Unknown

Event Timeline

Jason Ge <jungejason@fb.com> committed rPH4cdfc6d1cbb5: Fix exception when encoding is not defined (authored by Jason Ge <jungejason@fb.com>).Nov 3 2011, 05:41