src/axl_async_bbapi.c
/* Check and print BBAPI Error messages */
Check and print BBAPI Error messages
Check and print BBAPI Error messages
static int bb_check(int rc)
{
  if (rc) {
      char* errstring;
      getLastErrorDetails(BBERRORJSON, &errstring);
      AXL_ERR("AXL Error with BBAPI rc:       %d", rc);
      AXL_ERR("AXL Error with BBAPI details:  %s", errstring);
      free(errstring);
      return AXL_FAILURE;
  }
  return AXL_SUCCESS;
}
static int bb_check ( int rc ) { if ( rc ) { char * errstring ; getLastErrorDetails ( BBERRORJSON , & errstring ) ; AXL_ERR ( " " , rc ) ; AXL_ERR ( " " , errstring ) ; free ( errstring ) ; return AXL_FAILURE ; } return AXL_SUCCESS ; }
Check and print BBAPI Error messages
Check and print BBAPI Error messages
//printf("Aborting due to failures\n"); //exit(-1);