diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-19 02:10:41 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-19 02:10:41 +0200 |
commit | 906d5f24374eb190f6b7a00523fb16e5e683ac81 (patch) | |
tree | 61494ece954501a11f02552a140982aed854cbd3 /lib/Fripost/Schema/Local.pm | |
parent | 9881490f8c578555aa2349f8223104aa22fc8954 (diff) |
Better way to create lists.
Diffstat (limited to 'lib/Fripost/Schema/Local.pm')
-rw-r--r-- | lib/Fripost/Schema/Local.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Fripost/Schema/Local.pm b/lib/Fripost/Schema/Local.pm index 64dd622..89c0a9a 100644 --- a/lib/Fripost/Schema/Local.pm +++ b/lib/Fripost/Schema/Local.pm @@ -56,7 +56,7 @@ sub get { ); if ($locals->code) { die $options{'-die'}."\n" if defined $options{'-die'}; - die $locals->error; + die $locals->error."\n"; } # The following is not supposed to happen. Note that there is @@ -124,7 +124,7 @@ sub exists { return 1 unless $mesg->code; # 0 Success unless ($mesg->code == 32) { # 32 No such object die $options{'-die'}."\n" if defined $options{'-die'}; - die $mesg->error; + die $mesg->error."\n"; } } return 0; |