summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2016-05-23 22:26:17 -0700
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2016-05-23 22:26:44 -0700
commit7238518faffe15463b58dc5d7f304d7806ee3da7 (patch)
tree282f4146059ceff9bf6282b223b1148ed65f5f65
parentcdc2647061a7bcbbe631ec8c16bc759e4dabeb06 (diff)
downloadcarton-7238518faffe15463b58dc5d7f304d7806ee3da7.tar.gz
emit the line when parsing error happened.
-rw-r--r--lib/Carton/Snapshot/Parser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Carton/Snapshot/Parser.pm b/lib/Carton/Snapshot/Parser.pm
index 8959bc7..ae34a50 100644
--- a/lib/Carton/Snapshot/Parser.pm
+++ b/lib/Carton/Snapshot/Parser.pm
@@ -117,7 +117,7 @@ sub parse {
}
}
- Carton::Error::SnapshotParseError->throw(error => "Could not parse snapshot file.");
+ Carton::Error::SnapshotParseError->throw(error => "Could not parse snapshot file: $line");
}
}
}