String-exceptions (with newlines) getting manipulated which leads to problems when checking them or passing them through.
Our fix:
If the exception does not contain line and package name, do not upgrade it to a Mojo::Exception and do not append line and package name, thus respecting string exceptions ending with a newline.
Problem:
String-exceptions (with newlines) getting manipulated which leads to problems when checking them or passing them through.
Our fix:
If the exception does not contain line and package name, do not upgrade it to a Mojo::Exception and do not append line and package name, thus respecting string exceptions ending with a newline.