projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
084dcb6
)
return error to browser
rfid-vm
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 14 Apr 2014 13:06:25 +0000
(15:06 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 14 Apr 2014 13:06:25 +0000
(15:06 +0200)
scripts/RFID-JSONP-server.pl
patch
|
blob
|
history
diff --git
a/scripts/RFID-JSONP-server.pl
b/scripts/RFID-JSONP-server.pl
index
76aa261
..
165dfdf
100755
(executable)
--- a/
scripts/RFID-JSONP-server.pl
+++ b/
scripts/RFID-JSONP-server.pl
@@
-203,6
+203,7
@@
sub http_server {
}; # end of eval
if ( $@ ) {
+ print $client "HTTP/1.0 500 Error\r\n\r\nContent-Type: text/plain\r\n$@";
warn "ERROR: $@";
}