hi, using 1.3095, I just got a "view not found" error in the browser with the usual long dump. Would it be possible to include the name of the view? That might help in debugging. regards Gabor ps. I found my bug, this is just a generic question in preparation for the next time I make the same typo
On Tue, Jul 3, 2012 at 11:42 PM, Gabor Szabo <gabor@szabgab.com> wrote:
hi,
using 1.3095, I just got a "view not found" error in the browser with the usual long dump.
You were looking at the page. Would it be possible to include the name of the view? That might help
in debugging.
The name is included in whatever logging utility you have. This is the code: Dancer::Logger::error( "Supplied view ($view) not found - $view_path does not exist" ); return Dancer::Error->new( code => 500, message => 'view not found', )->render(); This means that whatever logging facility you're using (console, file, etc.), you'll be seeing a very informative message. We could provide the view in the browser output, though I don't think we should.
On Thu, Jul 5, 2012 at 11:35 AM, sawyer x <xsawyerx@gmail.com> wrote:
On Tue, Jul 3, 2012 at 11:42 PM, Gabor Szabo <gabor@szabgab.com> wrote:
hi,
using 1.3095, I just got a "view not found" error in the browser with the usual long dump.
You were looking at the page.
Would it be possible to include the name of the view? That might help in debugging.
The name is included in whatever logging utility you have.
This is the code: Dancer::Logger::error( "Supplied view ($view) not found - $view_path does not exist" ); return Dancer::Error->new( code => 500, message => 'view not found', )->render();
This means that whatever logging facility you're using (console, file, etc.), you'll be seeing a very informative message.
We could provide the view in the browser output, though I don't think we should.
Thanks, but why not? Gabor
participants (2)
-
Gabor Szabo -
sawyer x