[FastCgi] Log the stack trace for exceptions