404's with Sinatra

luke.antins's Avatar

luke.antins

15 Sep, 2010 05:21 AM

Hey,

I've noticed the 404 section in the web interface and I'm wondering how to get this working with Sinatra?
I took a quick scout through the code , but I've come up empty.

In Sinatra you can define a not_found block to deal with 404's errors.
I'm guessing I should be calling Exceptional::handle here? but how do you mark it as a 404?

Please give me a kick the right direction!

Cheers
Luke

  1. 1 Posted by Ciaran Lee on 21 Sep, 2010 10:15 AM

    Ciaran Lee's Avatar

    Hi Luke,
    We are going to overhaul the way 404 errors are handled in exceptional in the next month or so, as the current system has some faults. I'll get back to you on this issue when we have done so.
    Best regards,
    Ciaran Lee

  2. 2 Posted by Robert on 15 Feb, 2013 05:57 PM

    Robert's Avatar

    Hi, this is Robert with support, I am clearing out old tickets. If you are still having issues with this, send an email to [email blocked].

    Thanks,
    Robert

  3. Robert closed this discussion on 15 Feb, 2013 05:57 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac