#1521 [idea] Logging Errors in actors

tonsky Thu 5 May 2011

Now all uncatched errors which have happened in Actors are silently ignored (if not using Future#get) making bugfixing too hard in some of stupidiest cases.

So my proposal is to log such exceptions on fantom level to some standard logger ( concurrent.uncatched for example) so they will be:

  1. visible by default, and
  2. easily configurable/redirected to /dev/null.

What do you think?

brian Thu 5 May 2011

Well I agree it is a very tricky problem and would be very nice to log an exception if Future.get isn't used.

The problem is how do you determine if Future.get isn't used? It would require some sort of code analysis or check on garbage collection.

Login or Signup to reply.