#1906 Show context in taskd error emails

v1.0.0
closed
sf-1 (616)
General
nobody
2015-08-20
2011-04-07
No

It's hard to diagnose an error without c.project (name and neighborhood), c.user and c.app details.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-04-07

    Maybe include those in the MonQTask repr?

     
  • Dave Brondsema

    Dave Brondsema - 2011-04-07
    • size: --> 1
     
  • Jenny Steele - 2011-04-13
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-04-13

    I added it to the repr like you suggested.

     
  • Jenny Steele - 2011-04-13
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-14

    This is a bit too much, I think. For the project, we only need the URL (or shortname & neighborhood). And for the user, just the username

    <MonQTask 4da6f7c89c10401e8300001a (busy) P:10 allura.tasks.event_tasks.event h7v7024.sb.sf.net pid 7437 project:<Project last_updated=datetime.datetime(2011, 4, 13, 20, 38,
      18, 874000) labels=[u'']
      database_uri=u'mongodb://10.58.7.24:27017/project-data'
      neighborhood_invitations=[] homepage_title=u'test3'
      show_download_button=True
      neighborhood_id=ObjectId('4d9cc2609c104064fa000006')
      _extra_tool_status=[] tool_data={u'sfx':
      {u'unix_group_name': u'test3'}} parent_id=None
      short_description=u'fwecsdx' shortname=u'test3' ordinal=0
      description=u'You can edit this description in the admin
      page' deleted=False is_root=True database_configured=True
      _id=ObjectId('4d9db93a9c10406f6e000005') name=u'test3'
      database=<Missing> acl={'read':
      [ObjectId('4d9db93a9c10406f6e000007'),
      ObjectId('4d9db93a9c10406f6e000008'),
      ObjectId('4d9db93a9c10406f6e000009'),
      ObjectId('4d9db93a9c10406f6e00000b')], 'create':
      [ObjectId('4d9db93a9c10406f6e000007')], 'update':
      [ObjectId('4d9db93a9c10406f6e000007')], 'security':
      [ObjectId('4d9db93a9c10406f6e000007')], 'tool':
      [ObjectId('4d9db93a9c10406f6e000007')], 'delete':
      [ObjectId('4d9db93a9c10406f6e000007')]} category_id=None> app:<allura.ext.admin.admin_main.AdminApp object at 0xa525a50> user:<User username=u'dovethunder' tool_preferences={}
      password=None tool_data={u'sfx': {u'userid': 1002}}
      preferences={'results_per_page': 250, 'email_format':
      None, 'email_address': u'dovethunder@users.sf.net'}
      _id=ObjectId('4d9db9319c10406f6f00000b')
      sfx_userid=<Missing> projects=<Missing>
      display_name=u'Dovethunder Bitman' open_ids=[]
      email_addresses=[u'dovebit4@localhost',
      u'dovethunder@users.sf.net']>>
    
    • status: code-review --> in-progress
    • assigned_to: Dave Brondsema --> Jenny Steele
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-14
     
  • Jenny Steele - 2011-04-14

    I shortened it down to project url, app mount_point, and user's username.

     
  • Jenny Steele - 2011-04-14
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-15
    • status: code-review --> closed
     

Log in to post a comment.