diff options
author | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2016-05-23 22:26:17 -0700 |
---|---|---|
committer | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2016-05-23 22:26:44 -0700 |
commit | 7238518faffe15463b58dc5d7f304d7806ee3da7 (patch) | |
tree | 282f4146059ceff9bf6282b223b1148ed65f5f65 | |
parent | cdc2647061a7bcbbe631ec8c16bc759e4dabeb06 (diff) | |
download | carton-7238518faffe15463b58dc5d7f304d7806ee3da7.tar.gz |
emit the line when parsing error happened.
-rw-r--r-- | lib/Carton/Snapshot/Parser.pm | 2 |
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"); } } } |