How to use the error function from bunyan

Find comprehensive JavaScript bunyan.error code examples handpicked from public code repositorys.

166
167
168
169
170
171
172
173
174
175
  // // submit to blockchain
  let tx = {};
  try {
    tx = await client.submitAndWait(signed.tx_blob)
  } catch (err) {
    log.error(err, "failed to send tokens");
  }
  return tx;
}
/**
fork icon0
star icon0
watch icon1

+ 2 other calls in file