projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c694411
)
Adding a bit better error handling when we get invalid XML
author
Chris Cormack
<chrisc@catalyst.net.nz>
Sun, 2 Mar 2014 21:36:17 +0000
(10:36 +1300)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Sun, 2 Mar 2014 21:36:17 +0000
(10:36 +1300)
lib/NCIP.pm
patch
|
blob
|
history
diff --git
a/lib/NCIP.pm
b/lib/NCIP.pm
index
a267a30
..
bf23910
100644
(file)
--- a/
lib/NCIP.pm
+++ b/
lib/NCIP.pm
@@
-157,6
+157,7
@@
sub _error {
my $error_detail = shift;
my $vars;
$vars->{'error_detail'} = $error_detail;
+ $vars->{'messagetype'} = 'ItemRequestedResponse'; # No idea what this type should be
my $template = Template->new(
{ INCLUDE_PATH => $self->config->('NCIP.templates.value'), } );
my $output;