Handle error when variable sinatra.error is present
Merge pull request #241 from rodrigosaito/master

Handle sinatra errors