Code Monkey home page Code Monkey logo

whoops's Introduction

whoops's People

Contributors

alexrothenberg avatar alexw668 avatar chrismytton avatar driv3r avatar fermion avatar flyingmachine avatar martinliptak avatar michaelminter avatar splattael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

whoops's Issues

[proposal] Show the exception message.

I think it's still useful to see the actual exception message for thrown exceptions. Any chance of getting that in there somewhere (if there is a message)?

Having trouble hosting the Whoops Rail Engine

I created a Rails app to host your Whoops Rails engine. When I run this app on my local machine, everything worked fine. I was able to log message to the mongodb via WhoopsLogger.log method. However, the same mechanism did not work when sending logging message to my rails app containing the Whoops Rails engine. I got an internal server error. Looking at Rails log file, it contains errors like this:

Started POST "/events/" for 170.36.242.221 at Fri Aug 12 17:13:53 -0700 2011
Processing by EventsController#create as JSON
Parameters: {"event"=>{"details"=>nil, "service"=>"MyService", "event_group_identifier"=>"My App", "event_time"=>Fri Aug 12 17:13:28 -0700 2011, "environment"=>"development", "message"=>"My logging message", "event_type"=>"debug", "logger_strategy_name"=>"default::basic"}}

Sent mail to #Mongoid::Criteria:0x7fc51a502170 (8ms)
Completed 500 Internal Server Error in 22ms

ArgumentError (A sender (Return-Path, Sender or From) required to send a message):

Any idea why this happens?

My Rails app is running Rails 3.0.9 on Ruby 1.8.7.

Appreciate your any help!

Sincerely,
Alex

Boosting Performance?

We've been running the Whoops for a while and we've accumulated a bunch of logging messages. Now when we tried to examine some of messages, the response from the site hosting the Whoops engine is very slow.

I can see two reasons why that's the case. 1) By default, the whoops_events collection is not capped (we currently have more than 500k events being stored); 2) no indexes were created on whoops_events collection. Indexing on event_group_id, event_time, and keywords should help.

Regarding capped collection for whoops_events, is it possible and safe for us to convert the whoops_events collection into a capped one without dropping the collection and recreating it?

It would be great if you could make some changes to address this issue.

Thanks!
Alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.