mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 03:43:33 +08:00
tinybson: file write error add more detail
This commit is contained in:
@@ -381,6 +381,7 @@ write_x(bson_encoder_t encoder, const void *p, size_t s)
|
||||
break;
|
||||
|
||||
} else {
|
||||
PX4_ERR("file write error %d, errno:%d (%s)", ret, errno, strerror(errno));
|
||||
CODER_KILL(encoder, "file write error");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user