[Mojolicious] Re: Mojo::Exception and UTF-8 - again...

2016-11-07 Thread Peter Valdemar Mørch
I tried to create a short patch. Perhaps it became too short and this is better: londo@peter:~/work/mojo> git diff diff --git a/lib/Mojo/Exception.pm b/lib/Mojo/Exception.pm index b218ee0..64a6899 100644 --- a/lib/Mojo/Exception.pm +++ b/lib/Mojo/Exception.pm @@ -20,7 +20,15 @@ sub inspect { #

[Mojolicious] Mojo::Exception and UTF-8 - again...

2016-11-07 Thread Peter Valdemar Mørch
Hi, Today we encountered an exception in a source file that wasn't in UTF-8. This caused first a warning and then an error in the morbo output. Apache2 showed a "502 Proxy Error: Error reading from remote server" from in our apache2+morbo setup. The file on-disk is "binary", because it uses a