diff options
| author | Jakob Pfender <jpfender@elegosoft.com> | 2011-05-19 14:59:10 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-05-23 21:38:37 +0300 |
| commit | 005564967fcab6d8fa56158a40009985e754cffb (patch) | |
| tree | acec76635658596239db147eb90a7479cbde2494 /src | |
| parent | c0cd9d506bcc4cbef7703c145575ca494d81e7f0 (diff) | |
| download | libgit2-005564967fcab6d8fa56158a40009985e754cffb.tar.gz | |
signature.c: Move to new error handling mechanism
Diffstat (limited to 'src')
| -rw-r--r-- | src/signature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signature.c b/src/signature.c index 62bd28b9a..683264108 100644 --- a/src/signature.c +++ b/src/signature.c @@ -205,7 +205,7 @@ int git_signature__parse(git_signature *sig, const char **buffer_out, sig->when.time = (time_t)time; if (parse_timezone_offset(buffer, &offset) < GIT_SUCCESS) - return GIT_EOBJCORRUPTED; + return git__throw(GIT_EOBJCORRUPTED, "Failed to parse signature. Could not parse timezone offset"); sig->when.offset = offset; |
