Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle_unicode_exception makes the devel server die #65

Closed
melmothx opened this issue Jul 14, 2016 · 1 comment
Closed

handle_unicode_exception makes the devel server die #65

melmothx opened this issue Jul 14, 2016 · 1 comment

Comments

@melmothx
Copy link
Owner

AmuseWikiFarm::Exception=HASH(0xb92bc20) at /usr/share/perl/5.20/Carp.pm line 169.
Can't locate object method "close" via package "1" (perhaps you forgot to load "1"?) at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 36.

@melmothx
Copy link
Owner Author

plackup psgi/amusewiki.psgi
HTTP::Server::PSGI: Accepting connections at http://0:5000/
2016/07/15 00:31:43 INFO - AmuseWikiFarm - AmuseWikiFarm.pm:175 - Handled unicode exception [
{
encoding_step => "params",
error_msg => "utf8 "\xE9" does not map to Unicode at /usr/share/perl5/Catalyst.pm line 3098.\n",
param_value => "library\351"
},
"http://blog.amusewiki.org:5000/library%E9"
]
127.0.0.1 - - [15/Jul/2016:00:31:43 +0200] "GET /library%e9 HTTP/1.1" 400 11 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
AmuseWikiFarm::Exception=HASH(0xb51bbc0) at /usr/share/perl/5.20/Carp.pm line 169.
Can't locate object method "close" via package "1" (perhaps you forgot to load "1"?) at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant