mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 21:38:40 +00:00
report unsuccessful writes
This commit is contained in:
+9
-2
@@ -1177,8 +1177,15 @@ rb_thread_entry_point(void *p)
|
|||||||
{
|
{
|
||||||
if(output_path.size != 0) ProfScope("write outputs [file]")
|
if(output_path.size != 0) ProfScope("write outputs [file]")
|
||||||
{
|
{
|
||||||
os_write_data_list_to_file_path(output_path, output_blobs);
|
B32 is_written = os_write_data_list_to_file_path(output_path, output_blobs);
|
||||||
log_infof("Results written to %S", output_path);
|
if(is_written)
|
||||||
|
{
|
||||||
|
log_infof("Results written to %S", output_path);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
log_user_errorf("ERROR: failed to write file %S\n", output_path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else ProfScope("write outputs [stdout]")
|
else ProfScope("write outputs [stdout]")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user