Basic skeleton for doing automated error reporting